diff options
Diffstat (limited to 'src/commands')
| -rw-r--r-- | src/commands/bot/website.ts | 2 | ||||
| -rw-r--r-- | src/commands/zerotwo/darling.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/bot/website.ts b/src/commands/bot/website.ts index c0008d2..afc1ef3 100644 --- a/src/commands/bot/website.ts +++ b/src/commands/bot/website.ts @@ -21,7 +21,7 @@ module.exports = class WebsiteBot extends Command { } run(msg: CommandoMessage) { let emb = new MessageEmbed() - .setDescription(`Here is <@217348698294714370>'s [website](https://cyne.cf/)! ${emoji.random()}`) + .setDescription(`Here is <@217348698294714370>'s [website](https://kyzer.co/)! ${emoji.random()}`) msg.say(emb) } }; diff --git a/src/commands/zerotwo/darling.ts b/src/commands/zerotwo/darling.ts index 5a409c8..d833537 100644 --- a/src/commands/zerotwo/darling.ts +++ b/src/commands/zerotwo/darling.ts @@ -49,17 +49,17 @@ module.exports = class DarlingZeroTwo extends Command { console.log(error) } else if (guild && darlingName == 'remove') { // @ts-ignore linting error shows that channelID doesnt exist when it does - if (msg.author.id == guild.userID) { + if (msg.author.id == guild.userID || msg.author.id == msg.guild.owner.id) { await Darling.findOneAndDelete({ guildID: msg.guild.id }) msg.say('The current darling has been removed. ' + emoji.random()) } else { - msg.reply('Only my darling can remove the current darling. ' + emoji.random()) + msg.reply('Only my darling or the guild owner can remove the current darling. ' + emoji.random()) } } else if (!guild && darlingName == 'remove') { msg.reply('There is no darling set in this server. ' + emoji.random()) } else if (guild && darlingName == 'set') { // @ts-ignore linting error shows that channelID doesnt exist when it does - msg.reply(`I already have a darling! It\'s <@${guild.userID}>! ` + emoji.random()) + msg.reply(`I already have a darling! It\'s <@${guild.userID}>! To set a new darling, either the current darling or the guild owner has to do \`uwu!darling remove\`. ` + emoji.random()) } else if (!guild && darlingName == 'set') { await darling.save() .then(result => console.log(result)) |