Fixed missing variables
This commit is contained in:
21
commands/Info/donate.js
Executable file
21
commands/Info/donate.js
Executable file
@ -0,0 +1,21 @@
|
||||
const { EmbedBuilder } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: 'donate',
|
||||
private: false,
|
||||
description: 'Shows links to donate to the service',
|
||||
|
||||
run: async (client, interaction) => {
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor('#03FC20')
|
||||
.setTitle('Donation')
|
||||
.setDescription('Donate to the service I am using with one of the following links:')
|
||||
.setFields(
|
||||
{ name: ' ', value: '[Direct donation to the host (creditcard needed)](https://ssh.surf/view/donate/)', inline: false },
|
||||
{ name: ' ', value: '[Donation through an external provider](https://ko-fi.com/sshsurf)', inline: false },
|
||||
)
|
||||
|
||||
interaction.followUp({ embeds: [embed] })
|
||||
}
|
||||
};
|
2
commands/Management/resetwolfcount.js
Normal file → Executable file
2
commands/Management/resetwolfcount.js
Normal file → Executable file
@ -19,7 +19,7 @@ module.exports = {
|
||||
resetcount = 0
|
||||
|
||||
// Reset the wolf count
|
||||
wolfcount.findByIdAndUpdate("6447da87681fd1bc486a4923", {count: resetcount}).then(() => {
|
||||
wolfcount.findByIdAndUpdate(`${process.env.UPDATEID}`, {count: resetcount}).then(() => {
|
||||
console.log('');
|
||||
console.log('Count reset!');
|
||||
}).catch((error) => {
|
||||
|
Reference in New Issue
Block a user