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
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class voice(commands.Cog):
c = conn.cursor()
guildID = ctx.guild.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):
return m.author.id == ctx.author.id
await ctx.channel.send("**You have 60 seconds to answer each question!**")