this should work
This commit is contained in:
1 parent
8ccbfcc67c
commit
0c95903282
1 file changed
+13
-15
@@ -75,21 +75,19 @@ async def on_message(message):
|
||||
try:
|
||||
await message.channel.send(file=discord.File(response))
|
||||
except:
|
||||
pass
|
||||
finally:
|
||||
await bot.process_commands(message)
|
||||
if response.startswith("<https://"):
|
||||
pass
|
||||
if response.isupper():
|
||||
pass
|
||||
if response.startswith("<"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif response.startswith(":"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif random.randint(1, 5) == 1:
|
||||
await message.channel.send(f"{response}\n\n\n{footer}")
|
||||
else:
|
||||
await message.channel.send(f"{response}")
|
||||
if response.startswith("<https://"):
|
||||
pass
|
||||
if response.isupper():
|
||||
pass
|
||||
if response.startswith("<"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif response.startswith(":"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif random.randint(1, 5) == 1:
|
||||
await message.channel.send(f"{response}\n\n\n{footer}")
|
||||
else:
|
||||
await message.channel.send(f"{response}")
|
||||
|
||||
await bot.process_commands(message)
|
||||
|
||||
bot.load_extension('jishaku')
|
||||
|
||||
Reference in new issue
Block a user