Added send_oper(...) to allow bots to oper up.
This commit is contained in:
parent
7f67bd2905
commit
803e1e8ff4
2 changed files with 13 additions and 0 deletions
|
@ -17,6 +17,7 @@ pub trait Bot {
|
|||
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_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<()>;
|
||||
fn send_privmsg(&self, chan: &str, msg: &str) -> IoResult<()>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue