mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
update for removal of /name
This commit is contained in:
parent
e8d0754d7d
commit
049e40910b
3 changed files with 5 additions and 11 deletions
|
|
@ -120,15 +120,9 @@ DISCORD_ENABLED = True
|
|||
```
|
||||
|
||||
Start or reload your game to apply the changed settings, then log in as an account
|
||||
with at least `Developer` permissions and initialize the bot account on Evennia:
|
||||
|
||||
discord2chan/name <your bot name>
|
||||
|
||||
The name you assign it can be anything; it will show up in the `who` list for your
|
||||
game and your game's channels, but is otherwise unused.
|
||||
|
||||
Lastly, confirm that it's fully enabled by entering `discord2chan` on its own.
|
||||
You should receive a message that there are no active connections to Discord.
|
||||
with at least `Developer` permissions and initialize the bot account on Evennia with
|
||||
the `discord2chan` command. You should receive a message that the bot was created, and
|
||||
that there are no active connections to Discord.
|
||||
|
||||
### Connecting an Evennia channel to a Discord channel
|
||||
|
||||
|
|
|
|||
|
|
@ -1965,7 +1965,7 @@ class CmdDiscord2Chan(COMMAND_DEFAULT_CLASS):
|
|||
bot_class = class_from_module(settings.DISCORD_BOT_CLASS, fallback=bots.DiscordBot)
|
||||
discord_bot = create.create_account("DiscordBot", None, None, typeclass=bot_class)
|
||||
discord_bot.start()
|
||||
|
||||
self.msg("Created and initialized a new Discord relay bot.")
|
||||
else:
|
||||
discord_bot = discord_bot[0]
|
||||
|
||||
|
|
|
|||
|
|
@ -2011,7 +2011,7 @@ class TestDiscord(BaseEvenniaCommandTest):
|
|||
self.cmddiscord.account_caller = False
|
||||
# create bot manually so it doesn't get started
|
||||
self.discordbot = create.create_account(
|
||||
"DiscordTest", None, None, typeclass="evennia.accounts.bots.DiscordBot"
|
||||
"DiscordBot", None, None, typeclass="evennia.accounts.bots.DiscordBot"
|
||||
)
|
||||
|
||||
def tearDown(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue