Manual:Discord

From DikuMUD Wiki
Revision as of 07:18, 18 September 2024 by Papi (talk | contribs) (Created page with "= Connecting the MUD server to Discord = == Creating a Discord Robot == First you need to create a "robot" on Discord that will relay messages between your Discord server an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Connecting the MUD server to Discord

Creating a Discord Robot

First you need to create a "robot" on Discord that will relay messages between your Discord server and the MUD.

... Maybe a link to Discord or some help article ...

The end-result is token that looks something like Mzk3NjA4QTAyNjU0NDLzNTYw.X_jH5w.aQVUDfJvugh3HTOQzfcPnp6_36E

Configuration

In the folder vme/bin/ create a text file called discord.token and put the Discord token value in this file.

Running the VME Discord programs

The two Python 3 scripts "dispatcher.py" and "muddiscord.py" must be running on your server. If you just edited the token you will have to restart the scripts.

If you start the VME using the "startvme.sh" script then it will take care of also launching these two programs.

Check their respective log files to check for any connection problems. If you used the scripts to run it, then look in $VME_ROOT/log/muddiscord.log and $VME_ROOT/log/dispatcher.log