python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k 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
modifying an element in a 2D array for discord.py
I'm making a discord bot so that I can make tournaments for League 5v5.
Here is the command I made for making the teams:
rows, cols = 5, 2
teamArr = [["Empty" for x in range(rows)] for y in ...
g1cs
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
How to resolve the following error in discord.py: "TypeError BotBase.__init__() missing one keyword-only argument: 'intents'"
I am using the following code to run my discord bot:
bot=commands.Bot(command_prefix="!")
However, when trying to run it in vscode, I get the following error:
Exception has occurred: TypeEr...
homura-akemi-f02-22
Votes: 0
Answers: 1