make PingPlugin add its feature to DiscoPlugin
This commit is contained in:
parent
990519f7b6
commit
4c937ccfc0
2 changed files with 21 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ fn main() {
|
|||
client.register_plugin(DiscoPlugin::new("client", "bot", "en", "xmpp-rs"));
|
||||
client.register_plugin(IbbPlugin::new());
|
||||
client.register_plugin(PingPlugin::new());
|
||||
client.plugin::<PingPlugin>().init();
|
||||
client.register_handler(Priority::Max, |e: &MessageEvent| {
|
||||
println!("{:?}", e);
|
||||
Propagation::Continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue