update for removal of /name
This commit is contained in:
parent
e8d0754d7d
commit
049e40910b
3 changed files with 5 additions and 11 deletions
|
|
@ -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