diff --git a/the_prestige.py b/the_prestige.py index eabad4e..6c4a4fc 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -983,6 +983,9 @@ class LeagueSetPlayerModifiersCommand(Command): template = "m;setplayermods [league name]\n[team name]\n[player name]\n4 numbers, seperated by a space, for batting pitching baserunning defense" description = "Set a pack of modifiers to a specific player in your league. Commissioners only." + def isauthorized(self, user): + return user.id in config()["owners"] + config()["ea"] + async def execute(self, msg, command, flags): if league_exists(command.split("\n")[0].strip()): try: @@ -1702,6 +1705,9 @@ def config(): "owners" : [ 0000 ], + "ea" : [ + 0000 + ], "prefix" : ["m;", "m!"], "simmadome_url" : "", "soulscream channel id" : 0,