Exiled-Team / DiscordIntegration

GNU General Public License v3.0
13 stars 36 forks source link

CPU Usage[BUG] #126

Closed Fluffy41 closed 1 year ago

Fluffy41 commented 1 year ago

Describe the bug Discord Integration is using to much CPU. image

To Reproduce its while the Bot is running

Expected behavior Not so much CPU Usage. image

Server logs Please include a pastebin of your localadmin log file (or both MA_log and SCP_log files if you use MultiAdmin) from the time in which the bug occured https://pastebin.com/SMsN6srA

EXILED Version ("latest" is not a version): 5.2.2

Results of show plugins command in console: [20:05:51] Total number of plugins: 20
Enabled plugins: 20
Disabled plugins: 0

CedMod:

Additional context Add any other context about the problem here.

joker-119 commented 1 year ago

This is likely caused because 0 is not a valid channel ID, or an invalid GuildID: 0. If the GuildID is correct, to avoid this error, disabling the logging of events targeting channels that you've purposefully set to an invalid channel ID.

Also duplicate of #124