fix caps. process commands
This commit is contained in:
1 parent
e546a0e1ce
commit
40b46382c7
1 file changed
+1
-2
@@ -85,8 +85,6 @@ async def on_message(message):
|
|||||||
pass
|
pass
|
||||||
if response.isupper():
|
if response.isupper():
|
||||||
pass
|
pass
|
||||||
else:
|
|
||||||
response = response.capitalize()
|
|
||||||
if response.startswith("<"):
|
if response.startswith("<"):
|
||||||
await message.channel.send(f"{response}")
|
await message.channel.send(f"{response}")
|
||||||
elif response.startswith(":"):
|
elif response.startswith(":"):
|
||||||
@@ -95,6 +93,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)
|
||||||
|
|
||||||
bot.load_extension('jishaku')
|
bot.load_extension('jishaku')
|
||||||
bot.run(TOKEN)
|
bot.run(TOKEN)
|
||||||
|
|||||||
Reference in new issue
Block a user