diff options
author | 2020-09-17 01:15:30 +0200 | |
---|---|---|
committer | 2020-09-17 01:15:30 +0200 | |
commit | 5d817bbe31ad0cd2baa0f76e39fdad2573367650 (patch) | |
tree | f52f39ee8672771c38645cda2a488a4925be3382 | |
parent | Merge pull request #435 from python-discord/topic-embeds (diff) | |
parent | Update variable name from terning to dice (diff) |
Merge pull request #441 from gustavwilliam/master
Update .roll to use new dice emojis
-rw-r--r-- | bot/constants.py | 12 | ||||
-rw-r--r-- | bot/exts/evergreen/fun.py | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/bot/constants.py b/bot/constants.py index 295bb90b..6605882d 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -108,12 +108,12 @@ class Emojis: trashcan = "<:trashcan:637136429717389331>" ok_hand = ":ok_hand:" - terning1 = "<:terning1:431249668983488527>" - terning2 = "<:terning2:462339216987127808>" - terning3 = "<:terning3:431249694467948544>" - terning4 = "<:terning4:579980271475228682>" - terning5 = "<:terning5:431249716328792064>" - terning6 = "<:terning6:431249726705369098>" + dice_1 = "<:dice_1:755891608859443290>" + dice_2 = "<:dice_2:755891608741740635>" + dice_3 = "<:dice_3:755891608251138158>" + dice_4 = "<:dice_4:755891607882039327>" + dice_5 = "<:dice_5:755891608091885627>" + dice_6 = "<:dice_6:755891607680843838>" issue = "<:IssueOpen:629695470327037963>" issue_closed = "<:IssueClosed:629695470570307614>" diff --git a/bot/exts/evergreen/fun.py b/bot/exts/evergreen/fun.py index 36a13ac0..b0240c45 100644 --- a/bot/exts/evergreen/fun.py +++ b/bot/exts/evergreen/fun.py @@ -41,8 +41,8 @@ class Fun(Cog): elif num_rolls < 1: output = ":no_entry: You must roll at least once." for _ in range(num_rolls): - terning = f"terning{random.randint(1, 6)}" - output += getattr(Emojis, terning, '') + dice = f"dice_{random.randint(1, 6)}" + output += getattr(Emojis, dice, '') await ctx.send(output) @commands.command(name="uwu", aliases=("uwuwize", "uwuify",)) |