mirror of
https://github.com/Rushilwiz/2023bot.git
synced 2025-04-08 05:20:16 -04:00
removed perms for ping
This commit is contained in:
parent
f56c90bf6a
commit
93ac9f8b5d
16
bot.py
16
bot.py
|
@ -122,7 +122,6 @@ async def info(ctx, username):
|
||||||
await ctx.send('\n'.join([f"{i}: {info[i]}" for i in info]))
|
await ctx.send('\n'.join([f"{i}: {info[i]}" for i in info]))
|
||||||
|
|
||||||
@bot.command(name='ping')
|
@bot.command(name='ping')
|
||||||
@commands.has_role(ADMIN_ROLE)
|
|
||||||
async def ping(ctx) :
|
async def ping(ctx) :
|
||||||
await ctx.send(":ping_pong: Pong")
|
await ctx.send(":ping_pong: Pong")
|
||||||
|
|
||||||
|
@ -136,21 +135,6 @@ async def whoami(ctx) :
|
||||||
async def clear(ctx, amount=3) :
|
async def clear(ctx, amount=3) :
|
||||||
await ctx.channel.purge(limit=amount)
|
await ctx.channel.purge(limit=amount)
|
||||||
|
|
||||||
|
|
||||||
@bot.command(name='99', help='Responds with a random quote from Brooklyn 99')
|
|
||||||
async def nine_nine(ctx):
|
|
||||||
brooklyn_99_quotes = [
|
|
||||||
'I\'m the human form of the 💯 emoji.',
|
|
||||||
'Bingpot!',
|
|
||||||
(
|
|
||||||
'Cool. Cool cool cool cool cool cool cool, '
|
|
||||||
'no doubt no doubt no doubt no doubt.'
|
|
||||||
),
|
|
||||||
]
|
|
||||||
|
|
||||||
response = random.choice(brooklyn_99_quotes)
|
|
||||||
await ctx.send(response)
|
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_command_error(ctx, error):
|
async def on_command_error(ctx, error):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user