From 92904b86a05fa0e72c781493d2654ee955695873 Mon Sep 17 00:00:00 2001 From: Yessiest Date: Sat, 27 Nov 2021 04:09:14 +0400 Subject: [PATCH] fixed reaction crash --- plugins/reactions/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/reactions/init.lua b/plugins/reactions/init.lua index 24c63b7..e637918 100644 --- a/plugins/reactions/init.lua +++ b/plugins/reactions/init.lua @@ -49,7 +49,7 @@ local pivot = command("pivot",{ return nil end if not segment.pivots[message.id] then - print("[REACTIONS] Creating pivot: "..tostring(segment.pivot.message)) + print("[REACTIONS] Creating pivot: "..tostring(message.id)) segment.pivots[message.id] = {} segment.pivots[message.id].message = message.id segment.pivots[message.id].channel = message.channel.id