Update code naar 2.0 versie van discordpy #17
+3
-1
@@ -22,8 +22,10 @@ async def add_cogs(bot):
|
||||
await bot.add_cog(Chatbot.Chatbot(bot))
|
||||
await bot.add_cog(Points.Points(bot))
|
||||
|
||||
intents = discord.Intents.default()
|
||||
intents.message_content = True
|
||||
|
||||
bot = commands.Bot(command_prefix=commands.when_mentioned_or('!'), description='Stroopwafel. Shitpost bot extraordinaire.', pm_help=True, intents=discord.Intents.default())
|
||||
bot = commands.Bot(command_prefix=commands.when_mentioned_or('!'), description='Stroopwafel. Shitpost bot extraordinaire.', pm_help=True, intents=intents)
|
||||
|
||||
#Read configuration file:
|
||||
config = configparser.ConfigParser()
|
||||
|
||||
Reference in New Issue
Block a user