Pārlūkot izejas kodu

fix: Removed info and invite files

Owen Diffey 3 gadi atpakaļ
vecāks
revīzija
f2f541942e
2 mainītis faili ar 0 papildinājumiem un 55 dzēšanām
  1. 0 26
      cmds/info.js
  2. 0 29
      cmds/invite.js

+ 0 - 26
cmds/info.js

@@ -1,26 +0,0 @@
-// const help_server = require('../functions/helpserver.js');
-
-// /**
-//  * Processes the "info" command.
-//  * @param {import('../util/i18n.js')} lang - The user language.
-//  * @param {import('discord.js').Message} msg - The Discord message.
-//  * @param {String[]} args - The command arguments.
-//  * @param {String} line - The command as plain text.
-//  * @param {import('../util/wiki.js')} wiki - The wiki for the message.
-//  */
-// function cmd_info(lang, msg, args, line, wiki) {
-// 	if ( args.join('') ) this.LINK(lang, msg, line, wiki);
-// 	else {
-// 		msg.sendChannel( lang.get('general.disclaimer', '*MarkusRost*') + '\n<' + process.env.patreon + '>' );
-// 		help_server(lang, msg);
-// 		this.invite(lang, msg, args, line, wiki);
-// 	}
-// }
-
-// module.exports = {
-// 	name: 'info',
-// 	everyone: true,
-// 	pause: false,
-// 	owner: false,
-// 	run: cmd_info
-// };

+ 0 - 29
cmds/invite.js

@@ -1,29 +0,0 @@
-// const {defaultPermissions} = require('../util/default.json');
-
-// /**
-//  * Processes the "invite" command.
-//  * @param {import('../util/i18n.js')} lang - The user language.
-//  * @param {import('discord.js').Message} msg - The Discord message.
-//  * @param {String[]} args - The command arguments.
-//  * @param {String} line - The command as plain text.
-//  * @param {import('../util/wiki.js')} wiki - The wiki for the message.
-//  */
-// function cmd_invite(lang, msg, args, line, wiki) {
-// 	if ( args.join('') ) {
-// 		this.LINK(lang, msg, line, wiki);
-// 	} else {
-// 		msg.client.generateInvite({
-// 			permissions: defaultPermissions
-// 		}).then( invite => {
-// 			msg.sendChannel( lang.get('invite.bot') + '\n<' + invite + '%20applications.commands' + '>' );
-// 		}, log_error );
-// 	}
-// }
-
-// module.exports = {
-// 	name: 'invite',
-// 	everyone: true,
-// 	pause: false,
-// 	owner: false,
-// 	run: cmd_invite
-// };