Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

add sauce #26

Merged
merged 1 commit into from
Oct 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions cogs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,12 @@ async def eval(self, ctx, *, code: str):

del args, code, silent


@commands.command(pass_context=True) # purge command for deleting messages
@commands.has_permissions(administrator=True)
async def purge(self, ctx, limit: int):
try:
await ctx.channel.purge(limit=limit)
await ctx.send('Cleared by {}'.format(ctx.author.mention), delete_after=3)
except:
await ctx.send('Unknown Error, perhaps check permissions?')

async def sauce(self, ctx):
ctx.send("send puww wequest senpai rawr x3\nhttps://github.com/mackdroid/bored-bot")


@nc.slash_command( # change bot status
name="status",
description="Set bot status!")
Expand Down