How to make case insensitive commands
See original GitHub issueI’m new to discord.py and have looked through the documentation, but I can’t seem to figure out how to use the case_insensitive option. I know that there has already been a post on this, about a year ago, but as I’ve said, I found a “case_insensitive option” for commands in the API Reference -> Bot section and just can’t get it to work. So far I’ve tried this:
from discord.ext import commands
bot = commands.Bot(command_prefix="!", case_insensitive=True)
Any help would be appreciated.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
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).
Read more >Is there a way to make a command "case insensitive"? - Reddit
There is a bool class in discord.py called "case_insensitive" and it is default to false, but you can set it to true with:...
Read more >How to make Bot Prefix Case Insensitive in discord py
How to make Bot Prefix Case Insensitive in discord py. Watch later. Share. Copy link. Info. Shopping. Tap to unmute.
Read more >How to run ls command case insensitive mode on Linux/Unix
Open the terminal application · Type the shopt command to enable nocaseglob : $ shopt -s nocaseglob · Now use the ls command....
Read more >How do you make the command mode case insensitive?
You can dynamically toggle smartcase using autocmds, so when in a : command line, it is off and when in a / command...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
import discord from discord.ext import commands from discord.ext.commands import Bot