aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Mohammad Ibrahim <[email protected]>2023-02-26 19:29:53 +0530
committerGravatar GitHub <[email protected]>2023-02-26 13:59:53 +0000
commit52fc242d456618bd5a5e3293388eb0418115f478 (patch)
treeb651d6e04bc0ff713883ed1d47408929ac31a8b3 /bot/constants.py
parentBump pre-commit from 3.0.4 to 3.1.0 (#1215) (diff)
Add default unicode emoji for trashcan (#1217)
* Add default unicode emoji for trashcan * Fix keeping the emoji for pydis and default unicode emoji for forks * Remove extra vairable in `Emoji` Co-authored-by: wookie184 <[email protected]> * Remove f-string without placeholder The flake8 life. --------- Co-authored-by: wookie184 <[email protected]>
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py
index a0b8bd60..fed41ab9 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -131,7 +131,12 @@ class Emojis:
cross_mark = "\u274C"
check = "\u2611"
envelope = "\U0001F4E8"
- trashcan = environ.get("TRASHCAN_EMOJI", "<:trashcan:637136429717389331>")
+
+ trashcan = environ.get(
+ "TRASHCAN_EMOJI",
+ "\N{WASTEBASKET}" if Client.debug else "<:trashcan:637136429717389331>",
+ )
+
ok_hand = ":ok_hand:"
hand_raised = "\U0001F64B"