Removed old files
This commit is contained in:
parent
66c8e6ec91
commit
0690d8fa0e
14 changed files with 0 additions and 798 deletions
|
@ -1,13 +0,0 @@
|
|||
module.exports = (client, interaction) => {
|
||||
|
||||
if (!interaction.isCommand()) return;
|
||||
|
||||
const command = client.commands.get(interaction.commandName);
|
||||
|
||||
if (!command) return void interaction.reply({
|
||||
content: `Command \`${interaction.commandName}\` not found.`,
|
||||
ephemeral: true
|
||||
});
|
||||
|
||||
command.run(client, interaction);
|
||||
};
|
|
@ -1,12 +0,0 @@
|
|||
module.exports = (client) => {
|
||||
console.log(
|
||||
`Ready to server in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`
|
||||
);
|
||||
|
||||
const activities = [`Giveaways in ${client.guilds.cache.size} guilds`,"g!help",`over ${client.users.cache.size} users!`];
|
||||
setInterval(() => {
|
||||
let activity = activities[Math.floor(Math.random() * activities.length)];
|
||||
client.user.setActivity(activity, { type: "WATCHING" });
|
||||
}, 20000);
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue