Add message content intent to examples

This commit is contained in:
Austin
2022-03-06 23:04:48 -05:00
committed by GitHub
parent 2eec900e98
commit 5780ff5ef0
16 changed files with 89 additions and 15 deletions

View File

@ -1,4 +1,4 @@
# This example requires the 'members' privileged intents
# This example requires the 'members' and 'message_content' privileged intents
import discord
from discord.ext import commands
@ -11,6 +11,7 @@ There are a number of utility commands being showcased here.'''
intents = discord.Intents.default()
intents.members = True
intents.message_content = True
bot = commands.Bot(command_prefix='?', description=description, intents=intents)