mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
Added error, warning and info formats to chat_formatting (#353)
This commit is contained in:
parent
7904c51181
commit
b4aacd28e7
@ -1,3 +1,15 @@
|
||||
def error(text):
|
||||
return ":no_entry_sign: {}".format(text)
|
||||
|
||||
|
||||
def warning(text):
|
||||
return ":warning: {}".format(text)
|
||||
|
||||
|
||||
def info(text):
|
||||
return ":information_source: {}".format(text)
|
||||
|
||||
|
||||
def bold(text):
|
||||
return "**{}**".format(text)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user