public class OutputUser extends Object implements GenericChannelUserOutput
Constructor and Description |
---|
OutputUser(PircBotX bot,
UserHostmask serverUser) |
Modifier and Type | Method and Description |
---|---|
void |
action(String action)
Send an action to the serverUser.
|
void |
ctcpCommand(String command)
Send a CTCP command to the serverUser.
|
void |
ctcpResponse(String message)
Send a CTCP Response to the serverUser.
|
SendChat |
dccChat() |
SendChat |
dccChat(boolean passive) |
SendFileTransfer |
dccFile(File file) |
SendFileTransfer |
dccFile(File file,
boolean passive) |
SendFileTransfer |
dccFileAndTransfer(File file) |
SendFileTransfer |
dccFileAndTransfer(File file,
boolean passive) |
void |
invite(Channel channel)
Send an invite to the serverUser.
|
void |
invite(String channel)
Send an invite to the serverUser
for more information
|
void |
message(String message)
Send a private message to a serverUser.
|
void |
mode(String mode)
Send usermode
|
void |
notice(String notice)
Send a notice to the serverUser.
|
void |
whois()
Send "WHOIS nick"
|
void |
whoisDetail()
Send "WHOIS nick nick" for more detail
|
@ConstructorProperties(value={"bot","serverUser"}) @Generated(value="lombok") public OutputUser(@NonNull PircBotX bot, @NonNull UserHostmask serverUser)
public void invite(String channel)
channel
- The channel you are inviting the serverUser to join.public void invite(Channel channel)
channel
- The channel you are inviting the serverUser to join.public void notice(String notice)
notice
in interface GenericChannelUserOutput
notice
- The notice to sendpublic void action(String action)
action
in interface GenericChannelUserOutput
action
- The action message to sendpublic void message(String message)
message
in interface GenericChannelUserOutput
message
- The message to sendpublic void ctcpCommand(String command)
command
- The CTCP command to sendpublic void ctcpResponse(String message)
message
- The response to sendpublic void mode(String mode)
mode
- The modes to changepublic SendFileTransfer dccFile(File file) throws IOException, DccException, InterruptedException
public SendFileTransfer dccFile(File file, boolean passive) throws IOException, DccException, InterruptedException
public SendFileTransfer dccFileAndTransfer(File file) throws IOException, DccException, InterruptedException
public SendFileTransfer dccFileAndTransfer(File file, boolean passive) throws IOException, DccException, InterruptedException
public SendChat dccChat() throws IOException, InterruptedException
IOException
InterruptedException
public SendChat dccChat(boolean passive) throws IOException, InterruptedException
IOException
InterruptedException
public void whois()
public void whoisDetail()
Copyright © 2010–2020 Leon Blakey. All rights reserved.