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)
cannot read the properties of undefined 'highest'
I want to check if the mentioned member role is in the same position as the bot or higher, but I am getting an error:
TypeError: Cannot read properties of undefined (reading 'highest')
My code:
...
Pooyan
Votes: 0
Answers: 3
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
How can I edit a config file in discord.js?
How can I edit a config.json file? I tried
const config = require("./config.json");
config.set("status", "online");
but it doesn't work.
Penguiiiiin
Votes: 0
Answers: 1
Cannot get Java Discord bot (JDA) to send embed
I'm trying to get my discord bot to send embeds but I send the message in discord and it doesn't do anything. It's working when I do this for regular messages, but not for embeds. Not sure what I'm do...
Anthony Mayoral
Votes: 0
Answers: 1