Update voice.py

This commit is contained in:
2T-ae 2022-01-29 13:16:53 +09:00 committed by GitHub
parent 1954ea1be2
commit 1a9fdacfe3
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!**")