Skip to main content

Intro

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:
  1. Getting the Discord Channel ID
  2. Grabbing the token used to publish files
  3. Getting the notify user pool
  4. Etc…
For a full list commands, you can navigate the API category in the navigation column to the left.

Accessing the Console

In order to access the console, you’ll need to access it from the Tools folder in the Prism2 program directory:
C:\Program Files\Prism2\Tools\prism_console.bat
That should open this python console

Discord Plugin API Commands

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.
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:
If you want a nicer way to see your users, you can use pprint instead of print. Just make sure you import it first: from pprint import pprint

Discord Server

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):
If the Discord studio config settings need to be reset because the config never cleared, I gave you the option to reset it:
Once you have reset the config for the Discord server, you can then start it back up using the command above.