Added send_sanick(...).
This commit is contained in:
parent
803e1e8ff4
commit
8924e4e578
2 changed files with 12 additions and 7 deletions
|
@ -13,6 +13,7 @@ pub mod conn;
|
|||
pub mod data;
|
||||
|
||||
pub trait Bot {
|
||||
fn send_sanick(&self, old_nick: &str, new_nick: &str) -> IoResult<()>;
|
||||
fn send_nick(&self, nick: &str) -> IoResult<()>;
|
||||
fn send_user(&self, username: &str, real_name: &str) -> IoResult<()>;
|
||||
fn send_join(&self, chan: &str) -> IoResult<()>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue