From 32f80c2dd5a23561758bbefee32624b20840abfb Mon Sep 17 00:00:00 2001 From: phixxy Date: Tue, 25 Jul 2023 17:20:14 -0700 Subject: [PATCH] Fixed react 'bug' --- sparkytron3000.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index fc54388..7a375a5 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -222,7 +222,7 @@ def edit_channel_config(channel_id, key, value): json.dump(config_data, f) async def react_to_msg(ctx, react): - if True: #this should say if react: but I am leaving it because people are enjoying it for now + if react: if not random.randint(0,10) and ctx.author.id != 1097302679836971038: system_msg = "Send only an emoji as a discord reaction to the following chat message" message = ctx.content[0]