fix more non string value bugs

master
Kit Kasune 3 years ago
parent b1cf67792c
commit 92e127d05d
  1. 2
      events/guildCreate.js
  2. 4
      events/guildDelete.js

@ -18,7 +18,7 @@ module.exports = async (client, guild) => {
.setAuthor({name: 'New Guild Added', iconURL: client.users.cache.get(guild.ownerId).avatarURL()})
.setTitle(guild.name)
.setThumbnail(guild.iconURL({size: 2048}))
.addField('Owner', client.users.cache.get(guild.ownerId).tag, true)
.addField('Owner', `${client.users.cache.get(guild.ownerId).tag}`, true)
.addField('Members', `${guild.members.cache.size}`, true)
.addField('Position', `Server #${client.guilds.cache.size}`, true)
.setColor('55ff7f')

@ -17,8 +17,8 @@ module.exports = async (client, guild) => {
.setAuthor({name: 'Server Lost', iconURL: client.users.cache.get(guild.ownerId).avatarURL()})
.setTitle(guild.name)
.setThumbnail(guild.iconURL({size: 2048}))
.addField('Owner', client.users.cache.get(guild.ownerId).tag, true)
.addField('Members', guild.members.cache.size, true)
.addField('Owner', `${client.users.cache.get(guild.ownerId).tag}`, true)
.addField('Members', `${guild.members.cache.size}`, true)
.addField('Position', `Server #${client.guilds.cache.size + 1}`, true)
.setColor('ff5d6a')
.setFooter({text: "Natsuki"})

Loading…
Cancel
Save