diff --git a/src/commands/cwg_selfserv.ts b/src/commands/cwg_selfserv.ts index a4ae8c2..8279898 100644 --- a/src/commands/cwg_selfserv.ts +++ b/src/commands/cwg_selfserv.ts @@ -20,6 +20,7 @@ export default class CWG_SelfService extends Command { } public async run(message: Message, args: string[]) { + if (!args[0].endsWith('.cloud.libraryofcode.org')) return this.error(message.channel, 'Only subdomains may be created with this command. If you\'d like to use a custom domain please contact a Technician.'); const reqDomain = `${escape(args[0])}.cloud.libraryofcode.org`; try {