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
|
||||
if response.isupper():
|
||||
pass
|
||||
else:
|
||||
response = response.capitalize()
|
||||
if response.startswith("<"):
|
||||
await message.channel.send(f"{response}")
|
||||
elif response.startswith(":"):
|
||||
@@ -95,6 +93,7 @@ async def on_message(message):
|
||||
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')
|
||||
bot.run(TOKEN)
|
||||
|
||||
Reference in new issue
Block a user