Intents added

This commit is contained in:
SamSanai 2023-01-03 12:53:44 +00:00
parent 0cdad59e13
commit 75786c8143

View File

@ -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")