Added send_kill(...) and associated unit test.
This commit is contained in:
parent
aad1d52b59
commit
56ca5379e1
2 changed files with 13 additions and 0 deletions
|
@ -23,6 +23,7 @@ pub trait Bot {
|
|||
fn send_invite(&self, person: &str, chan: &str) -> IoResult<()>;
|
||||
fn send_privmsg(&self, chan: &str, msg: &str) -> IoResult<()>;
|
||||
fn send_kick(&self, chan: &str, user: &str, msg: &str) -> IoResult<()>;
|
||||
fn send_kill(&self, nick: &str, msg: &str) -> IoResult<()>;
|
||||
fn identify(&self) -> IoResult<()>;
|
||||
fn output(&mut self) -> IoResult<()>;
|
||||
fn config(&self) -> &Config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue