Log command usage to Discord?Solved

Hello, I'm trying to create a plugin that logs when ever the command is used using discord webhooks, how would I go about doing that?

I'd recommend taking a look at some of the existing plugins that integrate with Discord, there are quite a few examples there. Tie ther ij with the OnServerCommand hook, and you'll be good to go. There are even plugins that already do what you want.

Admin Logger, Logger, Rustcord, etc.

9qGJevTZ3as1Z6Z.jpg Wulf

I'd recommend taking a look at some of the existing plugins that integrate with Discord, there are quite a few examples there. Tie ther ij with the OnServerCommand hook, and you'll be good to go. There are even plugins that already do what you want.

Admin Logger, Logger, Rustcord, etc.

Alright thanks, i'll check it out.
Locked automatically