mirror of
https://github.com/ApfelTeeSaft/Reload-Backend.git
synced 2026-08-26 19:33:26 +00:00
Fixed /giftvbucks command
This commit is contained in:
+1
-1
@@ -86,4 +86,4 @@
|
||||
"bEnableBlockbusterRiskyEvent": false,
|
||||
"bEnableCubeLake": false,
|
||||
"cubeLakeDate": "2020-01-01T00:00:00.000Z"
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
const { SlashCommandBuilder, EmbedBuilder } = require("discord.js");
|
||||
const { SlashCommandBuilder, MessageEmbed } = require("discord.js");
|
||||
const Users = require("../../../model/user.js");
|
||||
const Profiles = require("../../../model/profiles.js");
|
||||
|
||||
@@ -73,7 +73,7 @@ module.exports = {
|
||||
|
||||
const currentuser = await Profiles.findOne({ accountId: sender?.accountId });
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle("Gift Sent!")
|
||||
.setDescription(`Gifted **${vbucks} V-Bucks** to **${recieveuser.username}**`)
|
||||
.setThumbnail("https://i.imgur.com/yLbihQa.png")
|
||||
|
||||
Reference in New Issue
Block a user