Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidDGTNT authored Aug 5, 2020
1 parent fac6424 commit f89db24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def ping(ctx):
await ctx.send(f'Pong! {client.latency * 1000}ms')

def owner(ctx):
return ctx.author.id == 317394276189208576
return ctx.author.id == owner ID here

@client.command()
@commands.check(owner)
Expand All @@ -51,4 +51,4 @@ async def log(ctx, *, txt):
if filename.endswith('.py'):
client.load_extension(f'cogs.{filename[:-3]}')

client.run('NzM5NjYxMDA4OTQ3MjQ5MTYy.Xyds_g.f_emwqA3AjEvE-cCVArh9H66DV4')
client.run('bot token here')

0 comments on commit f89db24

Please sign in to comment.