python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How do I make my mute command tell the user when their mute expires? discord.py
I'm currently updating my tempmute command, and I have this code here:
time_convert = {"s":1, "m":60, "h":3600,"d":86400}
tempmute= int(time[:-1]) * time_conver...
User123355
Votes: 0
Answers: 1
TypeError: '<' not supported between instances of 'dict' and 'dict' Making leaderboard using json and discord.py
I am fairly new here so I apologise if this post is not up to your standards.
To summarise the problem, I am using Json and Discord.py to create a level leader-board.
I seem to not be able to sort the...
TrEzEater
Votes: 0
Answers: 1
poll answer handler in telegrapm bot
I need to get poll answer from user.
I saw this post, but it doesn't work for me.
@bot.message_handler(commands=['test'])
def start(message):
bot.send_poll(message.chat.id, 'chose', ['a', 'b'])
...
vovakirdan
Votes: 0
Answers: 1
TypeError: Cannot read properties of undefined (reading 'name') discord.js
I'm learning discord.js and I'm trying to follow this tutorial on discordjs.guide, but this error occurs:
client.commands.set(command.data.name, command);
^
TypeError...
realguystuff
Votes: 0
Answers: 1