mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
Added error, warning and info formats to chat_formatting (#353)
This commit is contained in:
committed by
Twentysix
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user