diff --git a/kobold.py b/kobold.py index fc6f0b7..78e4150 100644 --- a/kobold.py +++ b/kobold.py @@ -22,6 +22,8 @@ from src.tribe import Tribe from src.world import World + +BOT_NAME = 'Lulurnbus#1506' STATS = ["str", "dex", "con", "int", "wis", "cha"] STAT_COLOR = {"str": "red", "dex": "white", "con": "black", "int": "blue", "wis": "green", "cha": "yellow"} @@ -6081,7 +6083,7 @@ def check(m, shrug): if res == None: break # Example: 'MyBot#1111' - if str(res[1]) != 'Lulumbus#2714' and (not confirm or res[1] == confirm): + if str(res[1]) != BOT_NAME and (not confirm or res[1] == confirm): emoji = str(res[0].emoji) if not isinstance(chan, discord.DMChannel): await message.remove_reaction(res[0].emoji, res[1]) @@ -6138,7 +6140,7 @@ def check(m, shrug): if res == None: break # Example: 'MyBot#1111' - if str(res[1]) != 'Lulumbus#2714' and (not confirm or res[1] == confirm): + if str(res[1]) != BOT_NAME and (not confirm or res[1] == confirm): emoji = str(res[0].emoji) if not isinstance(chan, discord.DMChannel): await message.remove_reaction(res[0].emoji, res[1]) @@ -6248,7 +6250,7 @@ def check(m, shrug): res = None if res == None: break - if str(res[1]) != 'Lulumbus#2714' and (not user or res[1] == user): # Example: 'MyBot#1111' + if str(res[1]) != BOT_NAME and (not user or res[1] == user): # Example: 'MyBot#1111' emoji = str(res[0].emoji) if not isinstance(chan, discord.DMChannel): await message.remove_reaction(res[0].emoji, res[1])