mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Beep
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = class SpoopyLinkCommand extends Command {
|
|||||||
|
|
||||||
async run(msg, args) {
|
async run(msg, args) {
|
||||||
const { site } = 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 {
|
try {
|
||||||
const { body } = await snekfetch
|
const { body } = await snekfetch
|
||||||
.get(`https://spoopy.link/api/${site}`);
|
.get(`https://spoopy.link/api/${site}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user