Merge branch 'main' of gitlab.com:illegitimate/illegitimate-bot
This commit is contained in:
@@ -63,18 +63,16 @@ module.exports = {
|
|||||||
const head = minotar + ign;
|
const head = minotar + ign;
|
||||||
|
|
||||||
if (user1.discriminator === "0") {
|
if (user1.discriminator === "0") {
|
||||||
var verifyUsername = user1.username + "#0000"
|
|
||||||
var username = user1.username
|
var username = user1.username
|
||||||
} else {
|
} else {
|
||||||
var verifyUsername = user1.username + "#" + user1.discriminator
|
|
||||||
var username = user1.username + "#" + user1.discriminator
|
var username = user1.username + "#" + user1.discriminator
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hypixelCheck.data.links.DISCORD !== verifyUsername) {
|
if (hypixelCheck.data.links.DISCORD !== username) {
|
||||||
interaction.editReply({
|
interaction.editReply({
|
||||||
embeds: [
|
embeds: [
|
||||||
{
|
{
|
||||||
description: "<a:cross_a:1087808606897983539> The discord tag for `" + userCheck.data.name + "` is not `" + verifyUsername + "`. Please link your discord account to your hypixel account.\n" +
|
description: "<a:cross_a:1087808606897983539> The discord tag for `" + userCheck.data.name + "` is not `" + username + "`. Please link your discord account to your hypixel account.\n" +
|
||||||
"**If you are are using a new username then you will have to set your discord on hypixel to** `yourusername#0000`",
|
"**If you are are using a new username then you will have to set your discord on hypixel to** `yourusername#0000`",
|
||||||
color: embedColor
|
color: embedColor
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user