Skip to content

Commit

Permalink
[Fix] updated usage info after commands name change for `leavechannel…
Browse files Browse the repository at this point in the history
…` and `welcomechannel`
  • Loading branch information
naseif committed Nov 25, 2021
1 parent 6a2e3c1 commit b0a759e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions commands/Config/leavechannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
name: "leavechannel",
description: "Sets a custom leave channel instead of the default channel!",
args: true,
usage: `leave add <channel name || channel mention || channel id> || leave remove <channel name || channel mention || channel id>`,
usage: `leavechannel add <channel name || channel mention || channel id> || leave remove <channel name || channel mention || channel id>`,
async run(message, args, client, defaultPrefix) {
if (
!message.member.permissions.has("MANAGE_GUILD") ||
Expand All @@ -28,7 +28,7 @@ module.exports = {
embeds: [
embedMessage(
"RED",
`❌ You did not provide enough arguments!\n See \`${defaultPrefix}h leave\` for more info!`
`❌ You did not provide enough arguments!\n See \`${defaultPrefix}h leavechannel\` for more info!`
),
],
});
Expand Down Expand Up @@ -91,7 +91,7 @@ module.exports = {
embeds: [
embedMessage(
"#9dcc37",
`✅ A custom leave message has been set successfully!`
`✅ A custom leave channel has been set successfully!`
),
],
});
Expand Down Expand Up @@ -134,7 +134,7 @@ module.exports = {
embeds: [
embedMessage(
"#9dcc37",
`✅ Leave message channel has been resetted to default!`
`✅ Leave channel has been resetted to default!`
),
],
});
Expand Down Expand Up @@ -206,7 +206,7 @@ module.exports = {
embeds: [
embedMessage(
"#9dcc37",
`✅ A custom leave message has been set successfully!`
`✅ A custom leave channel has been set successfully!`
),
],
});
Expand Down Expand Up @@ -250,7 +250,7 @@ module.exports = {
embeds: [
embedMessage(
"#9dcc37",
`✅ Leave message channel has been resetted to default!`
`✅ Leave channel has been resetted to default!`
),
],
});
Expand Down
10 changes: 5 additions & 5 deletions commands/Config/welcomechannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
name: "welcomechannel",
description: "Sets a custom welcome channel instead of the default channel!",
args: true,
usage: `welcome add <channel name || channel mention || channel id> || welcome remove <channel name || channel mention || channel id>`,
usage: `welcomechannel add <channel name || channel mention || channel id> || welcome remove <channel name || channel mention || channel id>`,
async run(message, args, client, defaultPrefix) {
if (
!message.member.permissions.has("MANAGE_GUILD") ||
Expand All @@ -28,7 +28,7 @@ module.exports = {
embeds: [
embedMessage(
"RED",
`❌ You did not provide enough arguments!\n See \`${defaultPrefix}h welcome\` for more info!`
`❌ You did not provide enough arguments!\n See \`${defaultPrefix}h welcomechannel\` for more info!`
),
],
});
Expand Down Expand Up @@ -59,7 +59,7 @@ module.exports = {
embeds: [
embedMessage(
"RED",
`❌ This is not a valid operation. See \`${defaultPrefix}h welcome\` for more info \n Please specify whether you want to \`add || remove\` a custom weclome channel!`
`❌ This is not a valid operation. See \`${defaultPrefix}h welcomechannel\` for more info \n Please specify whether you want to \`add || remove\` a custom weclome channel!`
),
],
});
Expand Down Expand Up @@ -91,7 +91,7 @@ module.exports = {
embeds: [
embedMessage(
"#9dcc37",
`✅ A custom welcome message has been set successfully!`
`✅ A custom welcome channel has been set successfully!`
),
],
});
Expand Down Expand Up @@ -135,7 +135,7 @@ module.exports = {
embeds: [
embedMessage(
"#9dcc37",
`✅ Welcome message channel has been resetted to default!`
`✅ Welcome channel has been resetted to default!`
),
],
});
Expand Down

0 comments on commit b0a759e

Please sign in to comment.