mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 19:02:17 -05:00
Some cleanup in org.yaaic.command.handler.*
This commit is contained in:
parent
d53dacfc32
commit
e33cfd18d5
@ -77,7 +77,6 @@ public class DCCHandler extends BaseHandler
|
||||
return "/dcc SEND <nickname> <file>";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /dcc
|
||||
*/
|
||||
|
@ -59,12 +59,12 @@ public class DeopHandler extends BaseHandler
|
||||
return "/voice <nickname>";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /voice
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public String getDescription()
|
||||
{
|
||||
return "Give a user voice status";
|
||||
}
|
||||
}
|
||||
|
@ -59,12 +59,12 @@ public class DevoiceHandler extends BaseHandler
|
||||
return "/devoice <nickname>";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /devoice
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public String getDescription()
|
||||
{
|
||||
return "Remove voice status from a user";
|
||||
}
|
||||
}
|
||||
|
@ -67,12 +67,12 @@ public class EchoHandler extends BaseHandler
|
||||
return "/echo <text>";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /echo
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public String getDescription()
|
||||
{
|
||||
return "Print text to window";
|
||||
}
|
||||
}
|
||||
|
@ -76,6 +76,6 @@ public class HelpHandler extends BaseHandler
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
return "lists all available commands";
|
||||
return "Lists all available commands";
|
||||
}
|
||||
}
|
||||
|
@ -63,6 +63,6 @@ public class JoinHandler extends BaseHandler
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
return "join a channel";
|
||||
return "Join a channel";
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +65,8 @@ public class KickHandler extends BaseHandler
|
||||
* Description of /kick
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return "kicks a user";
|
||||
public String getDescription()
|
||||
{
|
||||
return "Kicks a user";
|
||||
}
|
||||
}
|
||||
|
@ -78,6 +78,9 @@ public class MeHandler extends BaseHandler
|
||||
return "/me <text>";
|
||||
}
|
||||
|
||||
/**
|
||||
* Description of /me
|
||||
*/
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
|
@ -59,6 +59,9 @@ public class ModeHandler extends BaseHandler
|
||||
return "/mode <channel> <mode>";
|
||||
}
|
||||
|
||||
/**
|
||||
* Description of /mode
|
||||
*/
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
|
@ -80,7 +80,6 @@ public class NamesHandler extends BaseHandler
|
||||
return "/names";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /names
|
||||
*/
|
||||
|
@ -55,7 +55,6 @@ public class NickHandler extends BaseHandler
|
||||
return "/nick <nickname>";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /nick
|
||||
*/
|
||||
|
@ -75,7 +75,6 @@ public class NoticeHandler extends BaseHandler
|
||||
return "/notice <nickname> <message>";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /notice
|
||||
*/
|
||||
|
@ -59,12 +59,12 @@ public class OpHandler extends BaseHandler
|
||||
return "/op <nickname>";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /deop
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public String getDescription()
|
||||
{
|
||||
return "Give a user operator status";
|
||||
}
|
||||
}
|
||||
|
@ -63,8 +63,12 @@ public class PartHandler extends BaseHandler
|
||||
return "/part [<channel>]";
|
||||
}
|
||||
|
||||
/**
|
||||
* Description of /part
|
||||
*/
|
||||
@Override
|
||||
public String getDescription() {
|
||||
public String getDescription()
|
||||
{
|
||||
return "leave the current channel";
|
||||
}
|
||||
}
|
||||
|
@ -79,6 +79,9 @@ public class QueryHandler extends BaseHandler
|
||||
return "/query <nickname>";
|
||||
}
|
||||
|
||||
/**
|
||||
* Description of /query
|
||||
*/
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
|
@ -55,7 +55,6 @@ public class QuitHandler extends BaseHandler
|
||||
return "/quit [<reason>]";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /quit
|
||||
*/
|
||||
|
@ -66,7 +66,6 @@ public class TopicHandler extends BaseHandler
|
||||
return "/topic [<topic>]";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /topic
|
||||
*/
|
||||
|
@ -59,7 +59,6 @@ public class VoiceHandler extends BaseHandler
|
||||
return "/voice <nickname>";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Description of /voice
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user