Merge pull request #33 from 2T-ae/master

Update voice.py
This commit is contained in:
Sam 2022-02-22 16:33:40 +00:00 committed by GitHub
commit 0cdad59e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ class voice(commands.Cog):
c = conn.cursor() c = conn.cursor()
guildID = ctx.guild.id guildID = ctx.guild.id
id = ctx.author.id id = ctx.author.id
if ctx.author.id == ctx.guild.owner.id or ctx.author.id == 151028268856770560: if ctx.author.id == ctx.guild.owner_id or ctx.author.id == 151028268856770560:
def check(m): def check(m):
return m.author.id == ctx.author.id return m.author.id == ctx.author.id
await ctx.channel.send("**You have 60 seconds to answer each question!**") await ctx.channel.send("**You have 60 seconds to answer each question!**")