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:
|
try:
|
||||||
await message.channel.send(file=discord.File(response))
|
await message.channel.send(file=discord.File(response))
|
||||||
except:
|
except:
|
||||||
pass
|
if response.startswith("<https://"):
|
||||||
finally:
|
pass
|
||||||
await bot.process_commands(message)
|
if response.isupper():
|
||||||
if response.startswith("<https://"):
|
pass
|
||||||
pass
|
if response.startswith("<"):
|
||||||
if response.isupper():
|
await message.channel.send(f"{response}")
|
||||||
pass
|
elif response.startswith(":"):
|
||||||
if response.startswith("<"):
|
await message.channel.send(f"{response}")
|
||||||
await message.channel.send(f"{response}")
|
elif random.randint(1, 5) == 1:
|
||||||
elif response.startswith(":"):
|
await message.channel.send(f"{response}\n\n\n{footer}")
|
||||||
await message.channel.send(f"{response}")
|
else:
|
||||||
elif random.randint(1, 5) == 1:
|
await message.channel.send(f"{response}")
|
||||||
await message.channel.send(f"{response}\n\n\n{footer}")
|
|
||||||
else:
|
|
||||||
await message.channel.send(f"{response}")
|
|
||||||
await bot.process_commands(message)
|
await bot.process_commands(message)
|
||||||
|
|
||||||
bot.load_extension('jishaku')
|
bot.load_extension('jishaku')
|
||||||
|
|||||||
Reference in new issue
Block a user