diff options
| author | Noah <mounderfod@gmail.com> | 2022-06-18 15:28:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-18 15:28:56 +0100 |
| commit | 884b414721ac7b239b9f275a846ce6e076120dfb (patch) | |
| tree | d331597c6127a3bfb63f57bc190789e067b3c5e7 | |
| parent | c6524b74a036e80a90473b926f8e0f2483ff8538 (diff) | |
| download | tiny-potato-bot-884b414721ac7b239b9f275a846ce6e076120dfb.tar.gz | |
Stop responding to bot pings
| -rw-r--r-- | bot.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,7 +29,8 @@ async def on_command_error(ctx, error): async def on_message(message): if bot.user.mentioned_in(message): ctx = await bot.get_context(message) - await ctx.reply("<:irritater:882309845427036230>") + if not ctx.author.bot: + await ctx.reply("no u") await bot.process_commands(message) |