@@ -9,14 +9,14 @@ public class ChanServCommand : ICommand
99
1010 public ( bool handled , string response ) Process ( BotContext ctx , string senderNick , string message , string fullLine )
1111 {
12- if ( ! message . StartsWith ( "!banlist " ) && ! message . StartsWith ( "!addban" ) &&
12+ if ( ! message . StartsWith ( "!blist " ) && ! message . StartsWith ( "!addban" ) &&
1313 ! message . StartsWith ( "!delban" ) && ! message . StartsWith ( "!tb" ) )
1414 return ( false , null ) ;
1515
1616 if ( ! ctx . Admins . Contains ( senderNick ) )
1717 return ( true , "You must be an admin to use ChanServ commands." ) ;
1818
19- if ( message . StartsWith ( "!banlist " ) )
19+ if ( message . StartsWith ( "!blist " ) )
2020 return HandleBanList ( ctx , senderNick ) ;
2121
2222 if ( message . StartsWith ( "!addban" ) )
@@ -35,7 +35,7 @@ public class ChanServCommand : ICommand
3535 {
3636 ctx . Writer ? . WriteLine ( $ "PRIVMSG ChanServ :bans { ctx . Channel } ") ;
3737 ctx . Logger ? . Log ( $ "[CHANSERV] { senderNick } requested banlist for { ctx . Channel } ") ;
38- return ( true , $ "?? Requesting ban list from ChanServ..." ) ;
38+ return ( false , null ) ;
3939 }
4040
4141 private ( bool , string ) HandleAddBan ( BotContext ctx , string senderNick , string message )
@@ -49,7 +49,7 @@ public class ChanServCommand : ICommand
4949
5050 ctx . Writer ? . WriteLine ( $ "PRIVMSG ChanServ :addban { ctx . Channel } { target } { reason } ") ;
5151 ctx . Logger ? . Log ( $ "[CHANSERV] { senderNick } added ban for { target } in { ctx . Channel } ") ;
52- return ( true , $ "?? Sending ban request for { target } ..." ) ;
52+ return ( false , null ) ;
5353 }
5454
5555 private ( bool , string ) HandleDelBan ( BotContext ctx , string senderNick , string message )
@@ -62,7 +62,7 @@ public class ChanServCommand : ICommand
6262
6363 ctx . Writer ? . WriteLine ( $ "PRIVMSG ChanServ :delban { ctx . Channel } { target } ") ;
6464 ctx . Logger ? . Log ( $ "[CHANSERV] { senderNick } removed ban for { target } in { ctx . Channel } ") ;
65- return ( true , $ "? Sending unban request for { target } ..." ) ;
65+ return ( false , null ) ;
6666 }
6767
6868 private ( bool , string ) HandleTimedBan ( BotContext ctx , string senderNick , string message )
@@ -77,7 +77,8 @@ public class ChanServCommand : ICommand
7777
7878 ctx . Writer ? . WriteLine ( $ "PRIVMSG ChanServ :addtimedban { ctx . Channel } { target } { duration } { reason } ") ;
7979 ctx . Logger ? . Log ( $ "[CHANSERV] { senderNick } added timed ban for { target } ({ duration } ) in { ctx . Channel } ") ;
80- return ( true , $ "?? Sending { duration } timed ban for { target } ..." ) ;
80+ return ( false , null ) ;
8181 }
8282 }
8383}
84+
0 commit comments