aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commands/admins
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-11-01 00:50:40 -0700
committerFuwn <[email protected]>2020-11-01 00:50:40 -0700
commitd9160764c018bb04878f092b6eff592b63e1b262 (patch)
tree5e52b1053ce020d9abfc8ca3434c3dc17d92704f /src/modules/commands/admins
parentfeat (desc) (diff)
downloaddep-core-next-d9160764c018bb04878f092b6eff592b63e1b262.tar.xz
dep-core-next-d9160764c018bb04878f092b6eff592b63e1b262.zip
chore: correct punctuation
Diffstat (limited to 'src/modules/commands/admins')
-rw-r--r--src/modules/commands/admins/config.rs16
-rw-r--r--src/modules/commands/admins/ignore.rs4
-rw-r--r--src/modules/commands/admins/management.rs4
-rw-r--r--src/modules/commands/admins/tests.rs2
4 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/commands/admins/config.rs b/src/modules/commands/admins/config.rs
index 43e2215..e0533ab 100644
--- a/src/modules/commands/admins/config.rs
+++ b/src/modules/commands/admins/config.rs
@@ -104,7 +104,7 @@ impl Command for ConfigAutorole {
fn options(&self) -> Arc<CommandOptions> {
let default = CommandOptions::default();
let options = CommandOptions {
- desc: Some("Want to mess with my auto-role settings ? (A role must be provided for `add` or `remove`.)".to_string()),
+ desc: Some("Want to mess with my auto-role settings? (A role must be provided for `add` or `remove`.)".to_string()),
usage: Some("<add|remove|enable|disable> <role_resolvable|_>".to_string()),
example: Some("add member".to_string()),
min_args: Some(1),
@@ -177,7 +177,7 @@ impl Command for ConfigAdmin {
fn options(&self) -> Arc<CommandOptions> {
let default = CommandOptions::default();
let options = CommandOptions {
- desc: Some("Who do you want me to consider an admin ?".to_string()),
+ desc: Some("Who do you want me to consider an admin?".to_string()),
usage: Some("<add|remove> <role_resolvable>".to_string()),
example: Some("add admin".to_string()),
min_args: Some(2),
@@ -244,7 +244,7 @@ impl Command for ConfigMod {
fn options(&self) -> Arc<CommandOptions> {
let default = CommandOptions::default();
let options = CommandOptions {
- desc: Some("Welcome to moderation !".to_string()),
+ desc: Some("Welcome to moderation!".to_string()),
usage: Some("<add|remove> <role_resolvable>".to_string()),
example: Some("add staff".to_string()),
min_args: Some(2),
@@ -311,7 +311,7 @@ impl Command for ConfigAudit {
fn options(&self) -> Arc<CommandOptions> {
let default = CommandOptions::default();
let options = CommandOptions {
- desc: Some("Amping up security around here ? Change audit log settings. (A channel must be provided for `channel`.)".to_string()),
+ desc: Some("Amping up security around here? Change audit log settings. (A channel must be provided for `channel`.)".to_string()),
usage: Some("<enable|disable|channel> <channel_resolvable>".to_string()),
example: Some("channel #audit-logs".to_string()),
min_args: Some(1),
@@ -443,9 +443,9 @@ impl Command for ConfigWelcome {
let default = CommandOptions::default();
let options = CommandOptions {
// desc: Some("Change welcome message settings.\nOption is one of enable, disable, channel, message, type and the respective values should be none, none, channel_resolvable, desired message.\nType designates if the message is plain or embed. Anything other than embed will result in plain.".to_string()),
- desc: Some("Want a sick, custom welcome message !?\n\nOptions:\n`enable` - none.\n`disable` - none.\n`channel` - `channel_resolvable` (Mentionable).\n`message` - Your desired welcome message.\n`type` - `plain` or `embed`.".to_string()),
+ desc: Some("Want a sick, custom welcome message!?\n\nOptions:\n`enable` - none.\n`disable` - none.\n`channel` - `channel_resolvable` (Mentionable).\n`message` - Your desired welcome message.\n`type` - `plain` or `embed`.".to_string()),
usage: Some("<option> <value>".to_string()),
- example: Some("message Hey {user} ! Welcome to {guild} !".to_string()),
+ example: Some("message Hey {user}! Welcome to {guild}!".to_string()),
min_args: Some(1),
required_permissions: Permissions::MANAGE_GUILD,
..default
@@ -511,7 +511,7 @@ impl Command for ConfigWelcome {
// let default = CommandOptions::default();
// let options = CommandOptions {
// // desc: Some("Change welcome message settings.\nOption is one of enable, disable, channel, message, type and the respective values should be none, none, channel_resolvable, desired message.\nType designates if the message is plain or embed. Anything other than embed will result in plain.".to_string()),
-// desc: Some("People leaving you ? At least make it cool and custom.\n\nOptions:\n`enable` - none.\n`disable` - none.\n`channel` - `channel_resolvable` (Mentionable).\n`message` - Your desired welcome message.\n`type` - `plain` or `embed`.".to_string()),
+// desc: Some("People leaving you? At least make it cool and custom.\n\nOptions:\n`enable` - none.\n`disable` - none.\n`channel` - `channel_resolvable` (Mentionable).\n`message` - Your desired welcome message.\n`type` - `plain` or `embed`.".to_string()),
// usage: Some("<option> <value>".to_string()),
// example: Some("message {user} has left {guild}...".to_string()),
// min_args: Some(1),
@@ -645,7 +645,7 @@ impl Command for ConfigCommands {
fn options(&self) -> Arc<CommandOptions> {
let default = CommandOptions::default();
let options = CommandOptions {
- desc: Some("Find something annoying ? Disable it ! (A command name must be provided.)".to_string()),
+ desc: Some("Find something annoying? Disable it! (A command name must be provided.)".to_string()),
usage: Some("<enable|disable> <command_name>".to_string()),
example: Some("disable e621".to_string()),
min_args: Some(2),
diff --git a/src/modules/commands/admins/ignore.rs b/src/modules/commands/admins/ignore.rs
index a716a45..39f64c1 100644
--- a/src/modules/commands/admins/ignore.rs
+++ b/src/modules/commands/admins/ignore.rs
@@ -18,7 +18,7 @@ impl Command for IgnoreAdd {
fn options(&self) -> Arc<CommandOptions> {
let default = CommandOptions::default();
let options = CommandOptions {
- desc: Some("Want me to ignore a channel ? Don't worry, I ain't seen a thing.".to_string()),
+ desc: Some("Want me to ignore a channel? Don't worry, I ain't seen a thing.".to_string()),
usage: Some("<channel_resolvable>".to_string()),
example: Some("#general".to_string()),
min_args: Some(1),
@@ -99,7 +99,7 @@ impl Command for IgnoreList {
fn options(&self) -> Arc<CommandOptions> {
let default = CommandOptions::default();
let options = CommandOptions {
- desc: Some("You want ME to tell YOU want channels I'm ignoring ?.".to_string()),
+ desc: Some("You want ME to tell YOU want channels I'm ignoring?.".to_string()),
aliases: vec!["ls"].iter().map(|e| e.to_string()).collect(),
required_permissions: Permissions::MANAGE_GUILD,
max_args: Some(0),
diff --git a/src/modules/commands/admins/management.rs b/src/modules/commands/admins/management.rs
index cad1365..0361a64 100644
--- a/src/modules/commands/admins/management.rs
+++ b/src/modules/commands/admins/management.rs
@@ -34,7 +34,7 @@ impl Command for Prune {
let default = CommandOptions::default();
let options = CommandOptions {
// desc: Some("Bulk delete messages. Filter is one of bot, attachment, !pin, mention, or a user_resolvable.\n`bot` will prune only messages from bots.\n`attachment` will prune only messages with attachments.\n`!pin` will prune all but pinned messages.\n`mention` will prune only messages that mention a user or everyone.\nMentioning a user will prune only that user's messages.".to_string()),
- desc: Some("Someone causing havoc ?\n\nFilters:\n`bot` - Prune messages from bots.\n`attachment` - Prune message with attachments.\n`!pin` - Prune messages, excluding pinned messages.\n`mention` - Prune messages that mention a user(s).\n`user` - Prune messages that were sent by that user.".to_string()),
+ desc: Some("Someone causing havoc?\n\nFilters:\n`bot` - Prune messages from bots.\n`attachment` - Prune message with attachments.\n`!pin` - Prune messages, excluding pinned messages.\n`mention` - Prune messages that mention a user(s).\n`user` - Prune messages that were sent by that user.".to_string()),
usage: Some("<count> [filter]".to_string()),
example: Some("20 bot".to_string()),
min_args: Some(1),
@@ -146,7 +146,7 @@ impl Command for Clean {
let default = CommandOptions::default();
let options = CommandOptions {
// desc: Some("Cleans up all commands and responses for Wisp sent in the past 10 minutes in the current channel.".to_string()),
- desc: Some("Need to tidy up ? This'll delete all of Wisp's messages from the last ten minutes.".to_string()),
+ desc: Some("Need to tidy up? This'll delete all of Wisp's messages from the last ten minutes.".to_string()),
required_permissions: Permissions::MANAGE_GUILD,
max_args: Some(0),
aliases: vec!["cleanup"].iter().map(|e| e.to_string()).collect(),
diff --git a/src/modules/commands/admins/tests.rs b/src/modules/commands/admins/tests.rs
index d4c8692..c146888 100644
--- a/src/modules/commands/admins/tests.rs
+++ b/src/modules/commands/admins/tests.rs
@@ -18,7 +18,7 @@ impl Command for TestWelcome {
fn options(&self) -> Arc<CommandOptions> {
let default = CommandOptions::default();
let options = CommandOptions {
- desc: Some("Feeling superstitious ? I'll check if your welcome configuration is correct.".to_string()),
+ desc: Some("Feeling superstitious? I'll check if your welcome configuration is correct.".to_string()),
max_args: Some(0),
required_permissions: Permissions::MANAGE_GUILD,
..default