How to make a command case insensitive in discord.py

On the rewrite branch, commands.Bot accepts a case_insensitive parameter

bot = commands.Bot(command_prefix='!', case_insensitive=True)

Note that there is a performance loss when using this feature.

Leave a Comment