Update and link new discord docs; reformat code for PEP8

This commit is contained in:
Griatch 2022-12-01 00:20:26 +01:00
parent 6001db4689
commit 643c5f387e
13 changed files with 66 additions and 18 deletions

View file

@ -893,6 +893,21 @@ GRAPEVINE_CHANNELS = ["gossip", "testing"]
# them. These are secret and should thus be overridden in secret_settings file
GRAPEVINE_CLIENT_ID = ""
GRAPEVINE_CLIENT_SECRET = ""
# Discord (discord.com) is a popular communication service for many, especially
# for game communities. Evennia's channels can be connected to Discord channels
# and relay messages between Evennia and Discord. To use, you will need to create
# your own Discord application and bot.
# Discord also requires installing the pyopenssl library.
# Full step-by-step instructions are available in the official Evennia documentation.
DISCORD_ENABLED = False
# The Intents bitmask required by Discord bots to request particular API permissions.
# By default, this includes the basic guild status and message read/write flags.
DISCORD_BOT_INTENTS = 105985
# The authentication token for the Discord bot. This should be kept secret and
# put in your secret_settings file.
DISCORD_BOT_TOKEN = None
# The account typeclass which the Evennia-side Discord relay bot will use.
DISCORD_BOT_CLASS = "evennia.accounts.bots.DiscordBot"
######################################################################
# Django web features

View file

@ -26,8 +26,9 @@ Updating-Evennia
Settings
Settings-Default
Choosing-a-Database
Channels-to-IRC
Channels-to-Discord
Channels-to-Grapevine
Channels-to-IRC
Channels-to-RSS
Channels-to-Twitter
```