diff --git a/app/bot.py b/app/bot.py index 21cde915..8022296c 100755 --- a/app/bot.py +++ b/app/bot.py @@ -48,11 +48,6 @@ async def on_ready(): # Waiting-room in zoid's server channel_id = 1026281775984549958 message_id = 1099374735428681758 - - # for testing, bot-testing server's channel - # channel_id = 932476007439552522 - # message_id = 1114045480129806361 - blurb = """# Please react to this message with one of the following emojis to be granted the appropriate role(s): 🚀 for Star Citizen @@ -159,7 +154,12 @@ async def on_message(ctx): if ctx.guild.id not in core_utils.my_guilds: return - if ctx.author.id == 83012791983673344: + if ( + str(ctx.author.id) + in requests.get("http://dale-bot-json.dragon-bot.svc.cluster.local/rules.json").json()[ + "disallowed_users" + ] + ): await ctx.delete() return