mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-10 05:08:55 -05:00
Update !editrole color's docstring
This commit is contained in:
parent
881a1d3212
commit
242d5bf63b
@ -520,10 +520,9 @@ class Mod:
|
|||||||
Use double quotes if the role contains spaces.
|
Use double quotes if the role contains spaces.
|
||||||
Colour must be in hexadecimal format.
|
Colour must be in hexadecimal format.
|
||||||
\"http://www.w3schools.com/colors/colors_picker.asp\"
|
\"http://www.w3schools.com/colors/colors_picker.asp\"
|
||||||
#cefdf9 -> 0xcefdf9
|
|
||||||
Examples:
|
Examples:
|
||||||
!editrole colour \"The Transistor\" 0xffff00
|
!editrole colour \"The Transistor\" #ff0000
|
||||||
!editrole colour Test 0xcefdf9"""
|
!editrole colour Test #ff9900"""
|
||||||
author = ctx.message.author
|
author = ctx.message.author
|
||||||
try:
|
try:
|
||||||
await self.bot.edit_role(ctx.message.server, role, color=value)
|
await self.bot.edit_role(ctx.message.server, role, color=value)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user