diff --git a/docs/source/Setup/Channels-to-Discord.md b/docs/source/Setup/Channels-to-Discord.md index bbc80c2676..e4aef95dd8 100644 --- a/docs/source/Setup/Channels-to-Discord.md +++ b/docs/source/Setup/Channels-to-Discord.md @@ -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 - -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 diff --git a/evennia/commands/default/comms.py b/evennia/commands/default/comms.py index 8b865e107e..dfbc699f91 100644 --- a/evennia/commands/default/comms.py +++ b/evennia/commands/default/comms.py @@ -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] diff --git a/evennia/commands/default/tests.py b/evennia/commands/default/tests.py index 3926edc214..8d0e299d66 100644 --- a/evennia/commands/default/tests.py +++ b/evennia/commands/default/tests.py @@ -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):