Skip to content

Instantly share code, notes, and snippets.

@cibere
Last active August 16, 2022 17:56
Show Gist options
  • Save cibere/da22060df5ab6282b452e972f08d269b to your computer and use it in GitHub Desktop.
Save cibere/da22060df5ab6282b452e972f08d269b to your computer and use it in GitHub Desktop.

Devcmd Docs

Index

Commands
Embed Color Code

Commands

Info
Gives you a view that gives you information about devcmd
Usage: devcmd info Aliases: about, github, docs


Update
Lets you update your devcmd
Usage: devcmd update


Eval
Evaluates the given code
Usage: devcmd eval <code> Aliaes: py, python, run, exec, execute


Shutdown
Shutsdown/logs out the bot
Usage: devcmd shutdown Aliases: logout


Disable
Disables a command
Usage: devcmd disable <command_name>


Purge
Purges the specifies amount of messages
Usage: devcmd purge <num> Aliases: clean, clear


Enable
Enables a command
Usage: devcmd enable <command_name>


Version
Sends the current version of devcmd you are running
Usage: devcmd version


Audit
Shows the last amount of audit log entries
Usage: devcmd audit <num> Aliases: logs


File
Sends the code for the specified file
Usage: devcmd file <file pointer>


Load
Loads/reloads/unloads the specified extension
Usage: devcmd load [extension='devcmd'] Aliases: reload, unload


Invite
gives you a url to invite your bot
Usage: devcmd invite [perms=0]


Sync
Syncs app_commands according to the given arg
Works like:

sync -> global sync
sync ~ -> sync current guild
sync * -> copies all global app commands to current guild and syncs
sync ^ -> clears all commands from the current guild target and syncs (removes guild commands)
sync id_1 id_2 -> syncs guilds with id 1 and 2

Usage: devcmd sync [guilds]... ["~"|"*"|"^"=None]


Source
Gives the source code for the specified command
Usage: devcmd source <command_name> Aliases: src


Remove
removes a cog
Usage: devcmd remove <cog_name>


Restart
Restarts the bot
Usage: devcmd restart


Help
Gives you help with devcmd
Usage: devcmd help


Cogs
lists all loaded cogs
Usage: devcmd cogs


Embed Color Code

Blue:
Informational Embed


Green
Successfull Embed


Red
An Error Embed


Orange
A Error has been sent to your dms Embed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment