mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
Merge pull request #3084 from Machine-Garden-MUD/main
Adding notification when discord bot session begins
This commit is contained in:
commit
f4253e600e
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