mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Beep
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = class SpoopyLinkCommand extends Command {
|
||||
|
||||
async run(msg, args) {
|
||||
const { site } = args;
|
||||
if (/discord(\.gg|app\.com\/invite|\.me)\//gi.test(site)) return msg.say('Discord invites are safe!');
|
||||
if (/discord(\.gg|app\.com%2Finvite|\.me)%2F/gi.test(site)) return msg.say('Discord invites are safe!');
|
||||
try {
|
||||
const { body } = await snekfetch
|
||||
.get(`https://spoopy.link/api/${site}`);
|
||||
|
||||
Reference in New Issue
Block a user