2.1 KiB
2.1 KiB
Bot Checklist
General Commands
- /whoami - Get your extension info if you have one.
- /new - Get an extension on the LiteNet Phone System.
- /delete - Remove your extension from the LiteNet Phone System.
- /list - List all extensions on the LiteNet Phone System.
- /button - Send the "Get an extension" button! (Requires default_member_permissions: 0)
Admin Commands
(Requires default_member_permissions: 0)
- /admin
- silence - Kill all ongoing calls.
- reload - Run an Asterisk reload.
- reboot - Reboot the server. (LAST RESORT)
Developer Commands
(Requires default_member_permissions: 0)
- /dev
- fwconsole - Run an
fwconsole
command.- command (required) - The command to run.
- asterisk - Run an Asterisk CLI command.
- command (required) - The command to run.
- shell - Run a shell command.
- command (required) - The command to run.
- restart - Restart the bot.
- fwconsole - Run an
Call Detail Records (CDR)
- /cdr - Get the call detail records for your extension.
- start_date (optional) - The start date for the CDR (mm/dd/yyyy).
- end_date (optional) - The end date for the CDR (mm/dd/yyyy).
Management Commands (For admins to manage extensions)
(Requires default_member_permissions: 0)
- /manage
- create - Create an extension.
- extension (required) - The extension number.
- discord user (required) - The Discord user to assign the extension to.
- delete - Delete an extension.
- discord user (required) - The Discord user whose extension is to be deleted.
- lookup - Lookup an extension. (With creds)
- extension (required) - The extension number.
- create - Create an extension.
Buttons (On button message)
- Get an Extension - Sends the "Get an extension" button.
- See Your Info - Sends the "See your info" button.
- Delete Your Extension - Sends the "Delete your extension" button.
Other Features
- Extension List on Discord - List all extensions on the Discord server. (Will do later)