diff options
| author | Fuwn <[email protected]> | 2020-11-01 00:50:40 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-11-01 00:50:40 -0700 |
| commit | d9160764c018bb04878f092b6eff592b63e1b262 (patch) | |
| tree | 5e52b1053ce020d9abfc8ca3434c3dc17d92704f /src/modules/commands/general | |
| parent | feat (desc) (diff) | |
| download | dep-core-next-d9160764c018bb04878f092b6eff592b63e1b262.tar.xz dep-core-next-d9160764c018bb04878f092b6eff592b63e1b262.zip | |
chore: correct punctuation
Diffstat (limited to 'src/modules/commands/general')
| -rw-r--r-- | src/modules/commands/general/animals.rs | 6 | ||||
| -rw-r--r-- | src/modules/commands/general/fun.rs | 16 | ||||
| -rw-r--r-- | src/modules/commands/general/misc.rs | 4 | ||||
| -rw-r--r-- | src/modules/commands/general/utilities.rs | 24 |
4 files changed, 25 insertions, 25 deletions
diff --git a/src/modules/commands/general/animals.rs b/src/modules/commands/general/animals.rs index 42817ab..91349df 100644 --- a/src/modules/commands/general/animals.rs +++ b/src/modules/commands/general/animals.rs @@ -66,7 +66,7 @@ impl Command for Dog { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Cats aren't enough for you ? Have a dog !".to_string()), + desc: Some("Cats aren't enough for you? Have a dog!".to_string()), ..default }; Arc::new(options) @@ -141,7 +141,7 @@ impl Command for Owl { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Why an owl ?".to_string()), + desc: Some("Why an owl?".to_string()), ..default }; Arc::new(options) @@ -166,7 +166,7 @@ impl Command for UglyCat { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("UGLY CAT !".to_string()), + desc: Some("UGLY CAT!".to_string()), ..default }; Arc::new(options) diff --git a/src/modules/commands/general/fun.rs b/src/modules/commands/general/fun.rs index 75243d2..99d8ffb 100644 --- a/src/modules/commands/general/fun.rs +++ b/src/modules/commands/general/fun.rs @@ -42,7 +42,7 @@ impl Command for CoinFlip { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("A simple game, one in the chamber, who gets splattered ?".to_string()), + desc: Some("A simple game, one in the chamber, who gets splattered?".to_string()), aliases: vec!["flipcoin"].iter().map(|e| e.to_string()).collect(), // usage: Some("[tags]".to_string()), // example: Some("minecraft".to_string()), @@ -57,7 +57,7 @@ impl Command for CoinFlip { let random = thread_rng().gen_bool(5.4); // TODO: Make this an embed eventually. if random { - message.channel_id.say("Looks like a heads to me !")?; + message.channel_id.say("Looks like a heads to me!")?; } else { message.channel_id.say("Tails seems to be the winner.")?; } @@ -189,10 +189,10 @@ impl Command for Opinion { // TODO: Make this an embed eventually. if random { message.channel_id.say(format!( - "{:?} ? Yeah, I'll give it a thumbs up.", args.to_string()))?; + "{:?}? Yeah, I'll give it a thumbs up.", args.to_string()))?; } else { message.channel_id.say(format!( - "{:?} ? That's a thumbs down from me.", args.to_string()))?; + "{:?}? That's a thumbs down from me.", args.to_string()))?; } Ok(()) @@ -227,7 +227,7 @@ impl Command for RussianRoulette { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("A simple game, one in the chamber, who gets splattered ?".to_string()), + desc: Some("A simple game, one in the chamber, who gets splattered?".to_string()), aliases: vec!["rr"].iter().map(|e| e.to_string()).collect(), ..default }; @@ -237,9 +237,9 @@ impl Command for RussianRoulette { fn execute(&self, _ctx: &mut Context, message: &Message, _args: Args) -> Result<(), CommandError> { let random = thread_rng().gen_range(1, 6); if random == 4 { - message.channel_id.say("Boom ! Better luck next time...")?; + message.channel_id.say("Boom! Better luck next time...")?; } else { - message.channel_id.say("Click ! You survived, for now...")?; + message.channel_id.say("Click! You survived, for now...")?; } Ok(()) @@ -251,7 +251,7 @@ impl Command for Uwufy { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Can't get enough of that \"uwu\" goodness ?".to_string()), + desc: Some("Can't get enough of that \"uwu\" goodness?".to_string()), aliases: vec!["owofy"].iter().map(|e| e.to_string()).collect(), ..default }; diff --git a/src/modules/commands/general/misc.rs b/src/modules/commands/general/misc.rs index f342cd0..f2b3cdd 100644 --- a/src/modules/commands/general/misc.rs +++ b/src/modules/commands/general/misc.rs @@ -38,7 +38,7 @@ impl Command for Anime { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Want to share an anime ? Results provided by kitsu.io.".to_string()), + desc: Some("Want to share an anime? Results provided by kitsu.io.".to_string()), usage: Some("<anime title>".to_string()), example: Some("darling in the franxx".to_string()), ..default @@ -142,7 +142,7 @@ impl Command for Manga { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Need info about a manga ? Results provided by kitsu.io".to_string()), + desc: Some("Need info about a manga? Results provided by kitsu.io".to_string()), usage: Some("<anime title>".to_string()), example: Some("deathnote".to_string()), ..default diff --git a/src/modules/commands/general/utilities.rs b/src/modules/commands/general/utilities.rs index 74052de..2d974e3 100644 --- a/src/modules/commands/general/utilities.rs +++ b/src/modules/commands/general/utilities.rs @@ -39,7 +39,7 @@ impl Command for MemberCount { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Wanna check how many cool people are a part of your server ?".to_string()), + desc: Some("Wanna check how many cool people are a part of your server?".to_string()), guild_only: true, aliases: vec!["mc"].iter().map(|e| e.to_string()).collect(), ..default @@ -51,7 +51,7 @@ impl Command for MemberCount { if let Some(guild_id) = message.guild_id { let member_count = CACHE.read().guild(guild_id).unwrap().read().member_count; message.channel_id.say(format!( - "There are {:?} members in this guild !", member_count))?; + "There are {:?} members in this guild!", member_count))?; } Ok(()) @@ -63,7 +63,7 @@ impl Command for UserId { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Need your ID ?".to_string()), + desc: Some("Need your ID?".to_string()), usage: Some("[user_resolvable]".to_string()), example: Some("@fun".to_string()), guild_only: true, @@ -91,7 +91,7 @@ impl Command for PFP { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Need a close up ? No creeping ! (Defaults to the author of the command.)".to_string()), + desc: Some("Need a close up? No creeping! (Defaults to the author of the command.)".to_string()), usage: Some("[user_resolvable]".to_string()), example: Some("@fun".to_string()), guild_only: true, @@ -156,7 +156,7 @@ impl Command for Prefix { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Need the prefix of the current guild ?".to_string()), + desc: Some("Need the prefix of the current guild?".to_string()), guild_only: true, aliases: vec!["pre"].iter().map(|e| e.to_string()).collect(), ..default @@ -227,7 +227,7 @@ impl Command for RoleInfo { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Mods lacking ? Don't worry, I got you.".to_string()), + desc: Some("Mods lacking? Don't worry, I got you.".to_string()), usage: Some("<role_resolvable>".to_string()), example: Some("@example role".to_string()), guild_only: true, @@ -280,7 +280,7 @@ impl Command for ServerInfo { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Need some quick info about the current guild ?".to_string()), + desc: Some("Need some quick info about the current guild?".to_string()), guild_only: true, aliases: vec!["serverinfo", "si", "sinfo"].iter().map(|e| e.to_string()).collect(), ..default @@ -378,7 +378,7 @@ impl Command for Stats { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("You wanna get to know me more ? How sweet.".to_string()), + desc: Some("You wanna get to know me more? How sweet.".to_string()), ..default }; Arc::new(options) @@ -453,7 +453,7 @@ impl Command for Time { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Don't have a clock ? (Optionally, you can provide an amount of hours to offset the time by.".to_string()), + desc: Some("Don't have a clock? (Optionally, you can provide an amount of hours to offset the time by.".to_string()), usage: Some("[hour]".to_string()), example: Some("-5".to_string()), aliases: vec!["now"].iter().map(|e| e.to_string()).collect(), @@ -684,7 +684,7 @@ impl Command for Wisp { fn options(&self) -> Arc<CommandOptions> { let default = CommandOptions::default(); let options = CommandOptions { - desc: Some("Information about me !".to_string()), + desc: Some("Information about me!".to_string()), usage: Some("".to_string()), aliases: vec!["botinfo", "bi", "binfo", "bot", "invite"].iter().map(|e| e.to_string()).collect(), ..default @@ -705,7 +705,7 @@ impl Command for Wisp { let sys = System::new(); let embed = CreateEmbed::default() // .description("Hi! I'm Wisp, a general purpose bot created in [Rust](http://www.rust-lang.org/) using [Serenity](https://github.com/serenity-rs/serenity).") - .description("Hey ! I'm Wisp, I was written in [Rust](https://www.rust-lang.org/) using [Serenity](https://github.com/serenity-rs/serenity).") + .description("Hey! I'm Wisp, I was written in [Rust](https://www.rust-lang.org/) using [Serenity](https://github.com/serenity-rs/serenity).") .field("Owner/ Developer", format!( "Name: {}\nID: {}" ,owner.mention() @@ -734,7 +734,7 @@ impl Command for Wisp { // ,shard_count) // ,false) .footer(|f| f - .text("Want to request a feature ? Submit one over at [email protected] !")) + .text("Want to request a feature? Submit one over at [email protected]!")) .thumbnail(thumbnail) .colour(*colours::MAIN); if let Some(process) = sys.get_process(get_current_pid()) { |