%date% returns a format incompatible with file names on dev build
Dinty1 opened this issue ยท 0 comments
When executing a console command from Discord, the following error is returned: [18:15:12] [JDA MainWS-ReadThread/ERROR]: [DiscordSRV] Error logging console action to C:\Users\[REDACTED]\Testing Server\plugins\DiscordSRV\discord-console-logs\Console-Wed, 7. Apr 2021 17:15:12 UTC.log: plugins\DiscordSRV\discord-console-logs\Console-Wed, 7. Apr 2021 17:15:12 UTC.log (The filename, directory name, or volume label syntax is incorrect)
. This is because the plugin is trying to save logs to a file with a name that has incorrect syntax. The DiscordConsoleChannelUsageLog
default config option is "Console-%date%.log"
, meaning that by default an error will occur while trying to execute a command.
Thanks.