diff options
author | MounderFod <mounderfod@gmail.com> | 2021-08-29 09:14:59 +0000 |
---|---|---|
committer | MounderFod <mounderfod@gmail.com> | 2021-08-29 09:14:59 +0000 |
commit | bb372c1dd040ade0358963a13e9d5e8013d7b908 (patch) | |
tree | f9c55e1054318ccea514a17d89037a1fe96259fd /cogs | |
parent | afa0afc330eb2e8159f99e2e72435001934ec209 (diff) | |
download | tiny-potato-bot-bb372c1dd040ade0358963a13e9d5e8013d7b908.tar.gz |
Avoid the bot accidentally pinging @everyone
Diffstat (limited to 'cogs')
-rw-r--r-- | cogs/fun.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cogs/fun.py b/cogs/fun.py index 898b132..bd97c01 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -17,13 +17,13 @@ class Fun(commands.Cog): async def drama(self, ctx, source): if source == "fabric": response = urllib.request.urlopen("https://fabric-drama.herokuapp.com/txt").read().decode('utf-8') - await ctx.send(response) + await ctx.send("`" + response + "`") elif source == "ftb": response = urllib.request.urlopen("http://ftb-drama.herokuapp.com/txt").read().decode('utf-8') - await ctx.send(response) + await ctx.send("`" + response + "`") elif source == "forge": response = urllib.request.urlopen("https://mc-drama.herokuapp.com/raw").read().decode('utf-8') - await ctx.send(response) + await ctx.send("`" + response + "`") else: await ctx.send(f'Could not find drama from source "{source}". Valid sources: `ftb`, `fabric`, `forge`.') |