Added SAMODE with associated unit test.
This commit is contained in:
parent
56ca5379e1
commit
445cfb1405
2 changed files with 16 additions and 3 deletions
|
@ -17,7 +17,8 @@ pub trait Bot {
|
|||
fn send_nick(&self, nick: &str) -> IoResult<()>;
|
||||
fn send_user(&self, username: &str, real_name: &str) -> IoResult<()>;
|
||||
fn send_join(&self, chan: &str) -> IoResult<()>;
|
||||
fn send_mode(&self, chan: &str, mode: &str) -> IoResult<()>;
|
||||
fn send_samode(&self, target: &str, mode: &str) -> IoResult<()>;
|
||||
fn send_mode(&self, target: &str, mode: &str) -> IoResult<()>;
|
||||
fn send_oper(&self, name: &str, password: &str) -> IoResult<()>;
|
||||
fn send_topic(&self, chan: &str, topic: &str) -> IoResult<()>;
|
||||
fn send_invite(&self, person: &str, chan: &str) -> IoResult<()>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue