cardboardbox/commands/_base.js

29 lines
709 B
JavaScript
Raw Normal View History

2020-01-13 14:48:54 +00:00
/*
2020-01-27 18:33:25 +00:00
This file is ignored by the bot's command loader because of the underscore at the start of the file name. The purpose of this file is for developers to get a headstart on implementing their own commands.
Developers, remember to insert all three exports; these are required. Your command won't load if any of these are missing.
2020-01-13 14:48:54 +00:00
*/
exports.run = async (client, message, args, level) => {
};
exports.conf = {
enabled: true,
guildOnly: false,
aliases: [],
permLevel: "User"
};
exports.help = {
name: "",
category: "",
description: "",
usage: ""
};
2020-01-06 21:00:36 +00:00
// Basic message auto-deletion
if (!args[0]) {
2020-01-06 21:00:36 +00:00
message.delete();
2020-01-09 22:01:24 +00:00
return (await message.reply("text")).delete(5000).catch(() => { });
2020-01-27 18:33:25 +00:00
}