File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 3535 LesRepublicains (),
3636 Trump (),
3737 ],
38- "#titoufaitdestests " : [
38+ "#vincentdev " : [
3939 Sudo (),
4040 Ascii (),
4141 Topic (),
Original file line number Diff line number Diff line change @@ -89,13 +89,12 @@ class HelpPlugin(BotPlugin):
8989 @BotPlugin .command (r"\!help +(#[^ ]+)" )
9090 def tell_help_for_chan (self , msg ):
9191 """Affiche la liste des commandes pour un chan"""
92- print ("help" )
9392 chan = msg .args [0 ].lower ()
9493 if chan not in self .bot .channels :
9594 msg .reply ("Pas de commande sur le chan %s" % chan , hilight = True )
9695 else :
9796 commands = self .bot .channels .get (chan , {}).get (ECommandType .COMMAND , [])
98- msg .reply (self .bot .text .red ("Aide pour " + chan ))
97+ msg .reply (self .bot .text .red ("Aide pour " + chan ), private = True )
9998 for command in commands :
10099 if not command .public : # dont show not public commands, usefull to hide some internal commands
101100 continue
@@ -110,6 +109,5 @@ def tell_help_for_chan(self, msg):
110109 @BotPlugin .command (r"\!help" )
111110 def tell_help (self , msg ):
112111 """Affiche la liste des commandes du chan où c'est demandé"""
113- print ("hello ?" + self .__str__ ())
114112 msg .args = [self .chan ]
115113 self .tell_help_for_chan (msg )
You can’t perform that action at this time.
0 commit comments