Posts by ChickChuck2 • 51 points
6 posts
-
0
votes1
answer32
viewsA: Discord bot python - async def picks up a sentence and the ID
I managed to find out with a help, and to help whoever is in this post async def say(ctx, id : int, *, mensagem : str, ): amount = 1 channel = client.get_channel(id) await…
pythonanswered ChickChuck2 51 -
2
votes1
answer32
viewsQ: Discord bot python - async def picks up a sentence and the ID
I wanted to know how to send several sentences at once, example ?Say Hello World (Idchannel) what happens is that I can only send a sentence and then the ID, I wanted to add as many phrases as I…
pythonasked ChickChuck2 51 -
1
votes1
answer66
viewsQ: Discord bot python Choice color in embed
Hello, I’m having a problem, I try to choose a color, and it won’t, but already the title, Description will, someone can tell me the right one to do to pick the colors? laranjavermelho = 0xFF4500…
pythonasked ChickChuck2 51 -
0
votes1
answer135
viewsQ: Python - Inventory system
I’m making a mini example game to learn more about python, and I don’t know how to remove the self.canvas.create_rectangle(50, 200, 290, 80, tag='inventario', fill='yellow') (INVENTORY ACTIVATED), I…
-
0
votes1
answer84
viewsQ: How to print typed text in a Tkinter GUI on the console?
I wanted to create a text in a window and, pressing a button, my text appear on the console. My code is this: from tkinter import * class janela: def __init__ (self, janela): self.frame=Frame()…
-
-1
votes1
answer45
viewsQ: Python - Using Threads in Windows for Multiple Events
After I click the Button the window stops responding until the sound ends, and what I wanted it to continue to answer after clicking the button import winsound b=winsound.Beep class janela: def…
pythonasked ChickChuck2 51