mirror of
https://github.com/SamSanai/VoiceMaster-Discord-Bot.git
synced 2024-11-22 01:45:32 +01:00
Intents added
This commit is contained in:
parent
0cdad59e13
commit
75786c8143
@ -3,7 +3,11 @@ from discord.ext import commands
|
|||||||
import traceback
|
import traceback
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
bot = commands.Bot(command_prefix=".")
|
intents = discord.Intents.default()
|
||||||
|
#Message content intent needs to be enabled in the developer portal for your chosen bot.
|
||||||
|
intents.message_content = True
|
||||||
|
|
||||||
|
bot = commands.Bot(command_prefix=".", intents=intents)
|
||||||
|
|
||||||
bot.remove_command("help")
|
bot.remove_command("help")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user