commands.when_mentioned_or(prefix)
Using prefix not working
#9693
-
Using prefix = os.getenv("PREFIX")
token = os.getenv("TOKEN")
status = discord.Status.dnd
activity = discord.Game("with discord servers 😈")
client = commands.Bot(command_prefix=commands.when_mentioned_or(prefix), help_command=None, intents=discord.Intents.default()) |
Beta Was this translation helpful? Give feedback.
Answered by
BIGBEASTISHANK
Dec 24, 2023
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
status = discord.Status.dnd
activity = discord.Game("with discord servers 😈")
intent = discord.Intents.default()
intent.message_content = True
client = commands.Bot(command_prefix=commands.when_mentioned_or(prefix), help_command=None, intents=intent) fixed it |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BIGBEASTISHANK
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fixed it