python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
how to make a command that only works for a certain role in a certain channel, otherwise it sends them a message to ask for a role
I'm currently coding a discord bot on the side and I'm stuck on a command that I'm trying to only make certain role to use it, when the wrong role type the command he got a reply to get the right role...

skz
Votes: 0
Answers: 1
Discord.py buttons
so I want to send an embed with a button that says "I joined" and the user can click it so one invite will go down in the JSON file.
Here is my code:
@client.command()
async def post(ctx, *,...
lior cohen
Votes: 0
Answers: 2
How to make discord bot delete messages send by the bot
I have made a discord bot that adds people to queue by a command and then shows the queue. I dont want the channel to fill up with unfinished queues. So I want the bot to delete its own messages.
Exam...
jaakoo
Votes: 0
Answers: 1
is it possible to have Context in a loop discord.py
I have an auto-channel-deleter that uses commands.task.loop() in order to check the time passed since the last message was sent. The loop function has my own custom function that requires Context (thi...

Zeperox
Votes: 0
Answers: 1