Merge branch 'master' into feature/context-menu

This commit is contained in:
Aaron Riedel 2022-03-07 03:48:40 +01:00
commit e56fca8068
Signed by: aaron
GPG key ID: 643004654D40D577
2 changed files with 4 additions and 7 deletions

9
bot.py
View file

@ -20,16 +20,13 @@ def right(s, amount):
def mid(s, offset, amount): def mid(s, offset, amount):
return s[offset:offset+amount] return s[offset:offset+amount]
intents = discord.Intents( intents = discord.Intents.default()
guilds=True, intents.members = True
members=True, intents.message_content = True
messages=True,
)
token = os.environ['TOKEN'] token = os.environ['TOKEN']
prefix = os.environ['PREFIX'] prefix = os.environ['PREFIX']
bot = commands.Bot(intents=intents, command_prefix=prefix) bot = commands.Bot(intents=intents, command_prefix=prefix)
client = discord.Client()
admin_role=261603488331595776 admin_role=261603488331595776
member_role=261603747711418371 member_role=261603747711418371

View file

@ -1 +1 @@
py-cord==2.0.0b4 py-cord==2.0.0b5