disable support for d.py 1.5
@@ -32,6 +32,7 @@ async def get_prefix(_bot, ctx): # async function to fetch a prefix from the da
return _bot.d.default_prefix if prefix is None else prefix
+"""
intents = discord.Intents.default()
intents.guilds = True
intents.members = True
@@ -51,11 +52,12 @@ intents.reactions = True
intents.typing = False
# intents.guild_typing = False
# intents.dm_typing = False
+"""
bot = commands.AutoShardedBot( # setup bot
command_prefix=get_prefix,
case_insensitive=True,
- intents=intents,
+ #intents=intents,
help_command=None
)
