mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
Adding notification when discord bot session begins, fixing caller -> self.caller
This commit is contained in:
parent
8f7df092b3
commit
54f21bd665
1 changed files with 2 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ class CmdChannel(COMMAND_DEFAULT_CLASS):
|
|||
|
||||
"""
|
||||
if not channel.access(self.caller, "send"):
|
||||
caller.msg(f"You are not allowed to send messages to channel {channel}")
|
||||
self.caller.msg(f"You are not allowed to send messages to channel {channel}")
|
||||
return
|
||||
|
||||
# avoid unsafe tokens in message
|
||||
|
|
@ -1980,6 +1980,7 @@ class CmdDiscord2Chan(COMMAND_DEFAULT_CLASS):
|
|||
self.msg("The Discord bot is already running.")
|
||||
else:
|
||||
discord_bot.start()
|
||||
self.msg("Starting the Discord bot session.")
|
||||
return
|
||||
|
||||
if "guild" in self.switches:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue