This is why boilerplate copy pasta sucks! Mental note to just refactor it all away
Stacktrace:
ReferenceError: deletedServerRole is not defined at ServerLogManager.serverRoleUpdatedEvent (/SDG_Discord_Bot/modules/serverLogModule.js:122:20) at Client. (/SDG_Discord_Bot/SDGDiscordBot.js:457:13) at emitTwo (events.js:106:13) at Client.emit (events.js:192:7) at GuildRoleUpdateAction.handle (/SDG_Discord_Bot/node_modules/discord.js/src/client/actions/GuildRoleUpdate.js:18:16) at GuildRoleUpdateHandler.handle (/SDG_Discord_Bot/node_modules/discord.js/src/client/websocket/packets/handlers/GuildRoleUpdate.js:7:36)
deleted role should have been original role.
This is why boilerplate copy pasta sucks! Mental note to just refactor it all away
Stacktrace:
ReferenceError: deletedServerRole is not defined at ServerLogManager.serverRoleUpdatedEvent (/SDG_Discord_Bot/modules/serverLogModule.js:122:20) at Client. (/SDG_Discord_Bot/SDGDiscordBot.js:457:13) at emitTwo (events.js:106:13) at Client.emit (events.js:192:7) at GuildRoleUpdateAction.handle (/SDG_Discord_Bot/node_modules/discord.js/src/client/actions/GuildRoleUpdate.js:18:16) at GuildRoleUpdateHandler.handle (/SDG_Discord_Bot/node_modules/discord.js/src/client/websocket/packets/handlers/GuildRoleUpdate.js:7:36)