mirror of
https://github.com/danbulant/Shasha
synced 2026-06-07 16:43:02 +00:00
Use guild prefix
This commit is contained in:
parent
f16d7693d4
commit
bfff9e5610
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ module.exports = class newquoteotd extends commando.Command {
|
||||||
const quoteOTD = findDoc?.["settings"]?.quoteOTD;
|
const quoteOTD = findDoc?.["settings"]?.quoteOTD;
|
||||||
const color = colorConf.randomColors;
|
const color = colorConf.randomColors;
|
||||||
if (!quoteOTD || !quoteOTD.channel) {
|
if (!quoteOTD || !quoteOTD.channel) {
|
||||||
return msg.channel.send(`Quote OTD channel not set! Run \`${this.client.commandPrefix}quoteotd\` to set one.`);
|
return msg.channel.send(`Quote OTD channel not set! Run \`${msg.guild.commandPrefix}quoteotd\` to set one.`);
|
||||||
}
|
}
|
||||||
if (!args[0]) {
|
if (!args[0]) {
|
||||||
return msg.channel.send('Provide `<message_ID>`!');
|
return msg.channel.send('Provide `<message_ID>`!');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue