fixed reaction crash

This commit is contained in:
Yessiest 2021-11-27 04:09:14 +04:00
parent be19b49807
commit 92904b86a0
1 changed files with 1 additions and 1 deletions

View File

@ -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