Hopefully fix of bot crashing

This commit is contained in:
Histmy 2021-06-26 15:03:28 +02:00
parent b9a883c907
commit 6afeafcc0f

View File

@ -69,7 +69,7 @@ module.exports = {
//#endregion //#endregion
if (statusPred === statusPo) return; if (statusPred === statusPo) return;
const rolePred = getRole(statusPred, bef.guild); const rolePred = getRole(statusPred, aft.guild);
const rolePo = getRole(statusPo, aft.guild); const rolePo = getRole(statusPo, aft.guild);