This file causes file directories to appear like opt/app/src/commands/moderation/opt/app/src/commands/moderation/ban.ts instead of opt/app/src/commands/moderation/ban.ts.
This is because the recursion returns the whole path instead of the filename and then appends the full directory again.
It doesn't affect the bot right now as there are no sub-directories inside commands or events.
This file causes file directories to appear like
opt/app/src/commands/moderation/opt/app/src/commands/moderation/ban.ts
instead ofopt/app/src/commands/moderation/ban.ts
. This is because the recursion returns the whole path instead of the filename and then appends the full directory again.It doesn't affect the bot right now as there are no sub-directories inside commands or events.