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

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!**")