Modmail
Modmail copied to clipboard
Edit permissions in bulk by using cog names GH#2900
Resolves #2900, a 2 year old feature request.
Have tested this out properly and ironed out all bugs to my understanding. Attached a few screenshots to help understand better.
Update: One more thing, the group name is case sensitive and sometimes it could be multiple words too, if I remember correctly.
Yeah group name is case sensitive, thats why I take it and put it in first letter capitalized, this should work for all inbuilt cogs. For plugins however, they will need to enter the exact class name if it isnt named as first letter capitalised.
And no, class names cant be more than one word so I dont think the group name can be more than one word!
And no, class names cant be more than one word so I dont think the group name can be more than one word!
Yes, class name cannot have multiple words. But cog name could have multiple words (by specifying the name
kwarg when creating the class).
bot.get_cog
will look for cog name instead of class name.
Yes, class name cannot have multiple words. But cog name could have multiple words (by specifying the
name
kwarg when creating the class).bot.get_cog
will look for cog name instead of class name.
Cant they just use "cog name" 😕 I feel like to allow more than 1 word cog names will be very difficult.