diff --git a/bot.py b/bot.py index a35cbc2..b109c52 100644 --- a/bot.py +++ b/bot.py @@ -19,16 +19,13 @@ def right(s, amount): def mid(s, offset, amount): return s[offset:offset+amount] -intents = discord.Intents( - guilds=True, - members=True, - messages=True, -) +intents = discord.Intents.default() +intents.members = True +intents.message_content = True token = os.environ['TOKEN'] prefix = os.environ['PREFIX'] bot = commands.Bot(intents=intents, command_prefix=prefix) -client = discord.Client() admin_role=261603488331595776 member_role=261603747711418371 diff --git a/requirements.txt b/requirements.txt index ddb5d19..981d2f7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -py-cord==2.0.0b4 \ No newline at end of file +py-cord==2.0.0b5 \ No newline at end of file