fixed reaction crash
This commit is contained in:
parent
be19b49807
commit
92904b86a0
|
@ -49,7 +49,7 @@ local pivot = command("pivot",{
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
if not segment.pivots[message.id] then
|
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] = {}
|
||||||
segment.pivots[message.id].message = message.id
|
segment.pivots[message.id].message = message.id
|
||||||
segment.pivots[message.id].channel = message.channel.id
|
segment.pivots[message.id].channel = message.channel.id
|
||||||
|
|
Loading…
Reference in New Issue