Added send_kill(...) and associated unit test.

This commit is contained in:
Aaron Weiss 2014-10-29 00:52:52 -04:00
parent aad1d52b59
commit 56ca5379e1
2 changed files with 13 additions and 0 deletions

View file

@ -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;