DM the help

This commit is contained in:
Sakuhl 2018-01-24 17:29:56 +01:00
parent 3e0b740498
commit 64770bf82c

View File

@ -82,12 +82,28 @@ Servers: {}", env!("CARGO_PKG_VERSION"), guilds))?;
}
pub fn wc_help(msg: &Message) -> Result<(), Error> {
msg.channel_id.say("Command overview: (prefix is wc!)
- Get information: guild <name/prefix>, player <name>, territory <(partial) name>, topguilds <limit>
- Toggle territory or war logs: livefeed, unlivefeed, warfeed, unwarfeed
- Crop screenshots: crop (crops last posted picture), crop <url>
- Misc.: info, status
Visit the Discord for more help: https://discord.gg/GbN7HeG")?;
msg.author.dm(|f| f.content("Command overview: (prefix is wc!)
Get information:
guild <name/prefix> - show guild stats and territories
player <name> - show player stats and currently online world
territory <(partial) name> - show territories
topguilds <limit> - show top guilds
Livefeeds:
livefeed, unlivefeed - territory takeover feed
warfeed, unwarfeed - war server login feed (lists tping servers)
Crop screenshots:
crop - crops last posted picture
crop <url> - crops image from the internet
Misc.:
help - get command help
info - show bot info
status - show online players
Visit the Discord for more help: https://discord.gg/GbN7HeG"))?;
Ok(())
}