this should work
This commit is contained in:
1 parent
8ccbfcc67c
commit
0c95903282
1 file changed
+1
-3
@@ -75,9 +75,6 @@ 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
|
|
||||||
finally:
|
|
||||||
await bot.process_commands(message)
|
|
||||||
if response.startswith("<https://"):
|
if response.startswith("<https://"):
|
||||||
pass
|
pass
|
||||||
if response.isupper():
|
if response.isupper():
|
||||||
@@ -90,6 +87,7 @@ async def on_message(message):
|
|||||||
await message.channel.send(f"{response}\n\n\n{footer}")
|
await message.channel.send(f"{response}\n\n\n{footer}")
|
||||||
else:
|
else:
|
||||||
await message.channel.send(f"{response}")
|
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