You can do a decent amount with the console, and I’ve tried to make it as relatively accessible to the things you will need as a user. For the most part you aren’t
going to do much but start/stop/reset the discord server. However you can find out a good bit of information using the api commands I’ve coded into the plugin such as:
Getting the Discord Channel ID
Grabbing the token used to publish files
Getting the notify user pool
Etc…
For a full list commands, you can navigate the API category in the navigation column to the left.
In order to interact with the Discord API and do things like start and stop the server, you’ll need to acquire the plugin first.
discord = pcore.getPlugin('Discord')
From here you can make all sorts of commands and layer them with each other As an example, if you wanted to grab a list of all the users in a Discord guild you would do the following:
Then you can type in any command you need for it. As an example, in order to start the Discord Server, you would do this (mine is already running but you get the idea):
discord.start_discord_server()
If the Discord studio config settings need to be reset because the config never cleared, I gave you the option to reset it:
discord.reset_discord_server_status()
Once you have reset the config for the Discord server, you can then start it back up using the command above.