mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Remove some debug output.
This commit is contained in:
parent
63df95e4da
commit
721572ac4a
1 changed files with 1 additions and 2 deletions
|
|
@ -300,7 +300,6 @@ class IRCBot(Bot):
|
|||
elif kwargs["type"] == "privmsg":
|
||||
# A private message to the bot - a command.
|
||||
user = kwargs["user"]
|
||||
print ("Private bot message received from %s: %s" % (user, txt))
|
||||
|
||||
if txt.lower().startswith("who"):
|
||||
# return server WHO list (abbreviated for IRC)
|
||||
|
|
@ -319,7 +318,7 @@ class IRCBot(Bot):
|
|||
text = "Who list (online/idle): %s" % ", ".join(whos)
|
||||
elif txt.lower().startswith("about"):
|
||||
# some bot info
|
||||
text = "This is an Evennia IRC bot connecting from the game '%s'." % settings.SERVERNAME
|
||||
text = "This is an Evennia IRC bot connecting from '%s'." % settings.SERVERNAME
|
||||
else:
|
||||
text = "I understand 'who' and 'about'"
|
||||
super(IRCBot, self).msg(privmsg=((text,), {"user":user}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue