From af13cbe64fc3c3643984be7b09c4c18ea6b65a8b Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Tue, 10 Aug 2021 00:38:05 +0200 Subject: [PATCH] remove babbelbingo role addition --- cogs/games.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cogs/games.py b/cogs/games.py index 09db985..fbb635a 100644 --- a/cogs/games.py +++ b/cogs/games.py @@ -38,11 +38,7 @@ class Games(commands.Cog): async def bingo(self, ctx): name = ctx.message.author.name bingocard = babbelbingo.bingo(name) - guild = ctx.message.guild - member = discord.utils.get(guild.members, id=ctx.message.author.id) - role = discord.utils.get(guild.roles , name='babbelbingo') await ctx.author.send(file=discord.File(bingocard)) - await member.add_roles(role) @commands.Cog.listener()