Skip to content

Commit fb7af2f

Browse files
committed
add more helpful messages to unregistered users
1 parent d723e25 commit fb7af2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: IRCHandler.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def threadedCommand(self, callback, cmd, bot, sender, dest, args):
574574
#If we don't accept unregistered usage, we check for AUTH 3 and the WHOIS event
575575
if not bot.allowunregistered:
576576
if not sender.auth == 3:
577-
bot.sendNotice(sender.nick, "You need to register your nick before using the bot.")
577+
bot.sendNotice(sender.nick, "You need to register your nick before using the bot. Use '/msg NickServ help register' to learn how to register.")
578578
return
579579

580580
#if sender.auth == 3:
@@ -585,15 +585,15 @@ def threadedCommand(self, callback, cmd, bot, sender, dest, args):
585585
#If we allow unregistered usage, we use the current nick as the registered nick for later on
586586
if sender.auth == 0 and bot.allowunregistered and not 'AnonUser_' in sender.nick :
587587
sender.regnick = sender.nick
588-
bot.sendNotice(sender.nick, "You should really register your nick ! Try '/msg nickserv help' to see how to do it.")
588+
bot.sendNotice(sender.nick, "You should really register your nick! Use '/msg NickServ help register' to learn how to register.")
589589

590590
#If we allow unregistered usage, we use the current nick as the registered nick for later on
591591
if sender.auth == 0 and bot.dccAllowAnon and 'AnonUser_' in sender.nick :
592592
sender.regnick = sender.nick
593593

594594
#If the AUTH is not 0 (unregistered) or 3 (authenticated), it means we have a weird account, we return
595595
if not sender.auth in [0,3]:
596-
bot.sendNotice(sender.nick, "You are not properly identified")
596+
bot.sendNotice(sender.nick, "You are not properly identified. Use '/msg NickServ help' to learn how to identify with services.")
597597
return
598598

599599
userValid = False

0 commit comments

Comments
 (0)