Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to make bot commands case insensitive in discord.py

@client.event
async def on_message(message):
    message.content = message.content.lower()
    await client.process_commands(message)


Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #bot #commands #case #insensitive
ADD COMMENT
Topic
Name
3+6 =