Update Font system

This commit is contained in:
Dragon Fire
2024-05-01 23:14:31 -04:00
parent 3610ee6f70
commit ae59abaf71
8 changed files with 39 additions and 28 deletions
+1
View File
@@ -32,6 +32,7 @@ module.exports = class IsItDownCommand extends Command {
}
async run(msg, { url }) {
if (!parseDomain || !ParseResultType) return msg.reply('Give me a second, still getting ready.');
const { type, domain, topLevelDomains } = parseDomain(url.hostname);
if (type !== ParseResultType.Listed) return msg.reply('This domain is not supported.');
const { text } = await request