guild intent
This commit is contained in:
parent
7776672300
commit
72e07e1334
@ -11,6 +11,7 @@ USER_ID = config.USER_ID
|
|||||||
PREFIX = '$'
|
PREFIX = '$'
|
||||||
|
|
||||||
intents = discord.Intents.default()
|
intents = discord.Intents.default()
|
||||||
|
intents.guilds = True
|
||||||
intents.messages = True
|
intents.messages = True
|
||||||
intents.dm_messages = True
|
intents.dm_messages = True
|
||||||
bot = commands.Bot(command_prefix=PREFIX, intents=intents)
|
bot = commands.Bot(command_prefix=PREFIX, intents=intents)
|
||||||
|
Loading…
Reference in New Issue
Block a user