Relative Content

Tag Archive for discorddiscord.py

Discord_Slash it does not work look down for more details

C:UserstestDesktopNuova cartella>python bot.py
Traceback (most recent call last):
File “C:UserstestDesktopNuova cartellabot.py”, line 3, in
from discord_slash import SlashCommand, SlashContext
ModuleNotFoundError: No module named ‘discord_slash’

Attempting to create a point system with discord py

So before I start coding the bot, I want to know how to store data for this discord bot. The context is I want to be able to use a command like “/addpoints”, “/removepoints” and have it add or remove points per person, as well as store the data. I also want to make a leaderboard to track the progress over a certain timeframe.

DM Command in Discord sends duplicates

I made a command to DM a specific user and then output a message that it has been successful in the same channel, but for no reason at all it sends 2 DM’s and 2 success messages.

Discord bot intents declaration

I’ve seen on other posts that the bot events are easier than client ones. But I don’t get if the intents declaration for client and bot is the same or not. Everytime i try to change the imports and the intents it doesn’t work.