aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2020-06-04 21:00:14 +0000
committerAnInternetTroll <lucafulger@gmail.com>2020-06-04 21:00:14 +0000
commit311e11dc0b669d70fc9695ef9da99fb152785a45 (patch)
tree645d82f602c4b40f13bc69462aeca5626859876e /cogs
parenta57aca425599a086ff3198947a118edca91c2b3e (diff)
parentabe3606c9358d56b4ce08ac50665ad84b0078b7f (diff)
downloadsteve-bot-311e11dc0b669d70fc9695ef9da99fb152785a45.tar
steve-bot-311e11dc0b669d70fc9695ef9da99fb152785a45.tar.gz
steve-bot-311e11dc0b669d70fc9695ef9da99fb152785a45.tar.bz2
steve-bot-311e11dc0b669d70fc9695ef9da99fb152785a45.tar.lz
steve-bot-311e11dc0b669d70fc9695ef9da99fb152785a45.tar.xz
steve-bot-311e11dc0b669d70fc9695ef9da99fb152785a45.tar.zst
steve-bot-311e11dc0b669d70fc9695ef9da99fb152785a45.zip
Merge branch 'master' of https://github.com/AnInternetTroll/mcbeDiscordBot
Diffstat (limited to 'cogs')
-rwxr-xr-xcogs/admin.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index a432580..917a8de 100755
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -12,18 +12,6 @@ class Admin(commands.Cog):
async def is_mod(ctx):
return ctx.author.guild_permissions.manage_channels
-
- @commands.Cog.listener()
- async def on_deleted_message(self, message):
- channel = self.bot.get_channel(718187032869994686)
- #embed = discord.Embed(
- # title = f'Deleted Message by {message.author}',
- # description = message.content,
- # color = message.author.color,
- # timestamp = message.created_at
- #)
- #await channel.send(embed=embed)
- await ctx.channel.send(message.content)
@commands.command(aliases=['deleteEverything'], hidden=True)
@commands.check(is_mod)