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?
Log command usage to Discord?Solved
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.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.
Locked automatically