This is the cog guide for the cmdlog cog. You will find detailed docs about usage and commands.
[p] is considered as your prefix.
To use this cog, you will need to install and load it.
See the Getting my cogs page.
Log command usage in a form searchable by user ID, server ID or command name.
The cog keeps an internal cache and everything is also logged to the bot’s main logs under
red.vex.cmdlog, level INFO.
This command is locked to the bot owner.
View command logs.
Note the cache is limited to 100 000 commands, which is approximately 50MB of RAM
Show the size of the internal command cache.
[p]cmdlog command <command>
Upload all the logs that are stored for a specific command in the cache.
This does not check it is a real command, so be careful. Do not enclose it in ” if there are spaces.
You can search for a group command (eg
cmdlog) or a full command (eg
As arguments are not stored, you cannot search for them.
[p]cmdlog command ping
[p]cmdlog command playlist
[p]cmdlog command playlist create
Upload all the logs that are stored in the cache.
[p]cmdlog server <server_id>
Upload all the logs that are stored for for a specific server ID in the cache.
[p]cmdlog server 527961662716772392
[p]cmdlog user <user_id>
Upload all the logs that are stored for a specific User ID in the cache.
[p]cmdlog user 418078199982063626