Fixed react 'bug'

This commit is contained in:
phixxy 2023-07-25 17:20:14 -07:00
parent 1f3c5cf04a
commit 32f80c2dd5

View file

@ -222,7 +222,7 @@ def edit_channel_config(channel_id, key, value):
json.dump(config_data, f) json.dump(config_data, f)
async def react_to_msg(ctx, react): 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: 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" system_msg = "Send only an emoji as a discord reaction to the following chat message"
message = ctx.content[0] message = ctx.content[0]