Skip to content

Commit 49d80b7

Browse files
authored
Emoji, typos and other ifxe
1 parent 2752151 commit 49d80b7

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

Diff for: commands/👑 Owner/changeprefix.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = {
5959
embeds: [new MessageEmbed()
6060
.setFooter(es.footertext, es.footericon)
6161
.setColor(es.wrongcolor)
62-
.setTitle(`❌ Something went wrong`)
62+
.setTitle(client.la[ls].common.erroroccur)
6363
.setDescription(`\`\`\`${String(e.message ? e.message : e).substr(0, 2000)}\`\`\``)
6464
]
6565
})
@@ -68,7 +68,7 @@ module.exports = {
6868
embeds: [new MessageEmbed()
6969
.setFooter(es.footertext, es.footericon)
7070
.setColor(es.color)
71-
.setTitle(`<a:yes:833101995723194437> Successfully changed the Prefix`)
71+
.setTitle(`👍 Successfully changed the Prefix`)
7272
.setDescription(`**To change it in this Server use the: \`${prefix}prefix <newprefix>\` Command!**`)
7373
]
7474
})

Diff for: commands/👑 Owner/changestatus.js

+15-15
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ module.exports = {
5555
},
5656
{
5757
value: "Cancel",
58-
description: `Cancel and stop the Ai-Chat-Setup!`,
59-
emoji: "862306766338523166"
58+
description: `Cancel and stop the Change-Status-Setup!`,
59+
emoji: ""
6060
}
6161
]
6262
//define the selection
@@ -80,7 +80,7 @@ module.exports = {
8080
let MenuEmbed = new MessageEmbed()
8181
.setColor(es.color)
8282
.setAuthor('Change Status', 'https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/au-kddi/190/purple-heart_1f49c.png', 'https://discord.gg/milrato')
83-
.setDescription(eval(client.la[ls]["cmds"]["setup"]["setup-ticket"]["variable2"]))
83+
.setDescription(`***Select what you need in the \`Selection\` down below***`)
8484
//send the menu msg
8585
let menumsg = await message.reply({
8686
embeds: [MenuEmbed],
@@ -95,7 +95,7 @@ module.exports = {
9595
collector.on('collect', menu => {
9696
if (menu.user.id === cmduser.id) {
9797
collector.stop();
98-
if (menu.values[0] == "Cancel") return menu.reply(eval(client.la[ls]["cmds"]["setup"]["setup-ticket"]["variable3"]))
98+
if (menu.values[0] == "Cancel") return menu.reply(`❌ Cancelled the Process`)
9999
menu.deferUpdate();
100100
handle_the_picks(menu.values[0])
101101
} else menu.reply({
@@ -108,7 +108,7 @@ module.exports = {
108108
menumsg.edit({
109109
embeds: [menumsg.embeds[0].setDescription(`~~${menumsg.embeds[0].description}~~`)],
110110
components: [],
111-
content: `${collected && collected.first() && collected.first().values ? `<a:yes:833101995723194437> **Selected: \`${collected ? collected.first().values[0] : "Nothing"}\`**` : "❌ **NOTHING SELECTED - CANCELLED**" }`
111+
content: `${collected && collected.first() && collected.first().values ? `👍 **Selected: \`${collected ? collected.first().values[0] : "Nothing"}\`**` : "❌ **NOTHING SELECTED - CANCELLED**" }`
112112
})
113113
});
114114
}
@@ -220,8 +220,8 @@ module.exports = {
220220
},
221221
{
222222
value: "Cancel",
223-
description: `Cancel and stop the Ai-Chat-Setup!`,
224-
emoji: "862306766338523166"
223+
description: `Cancel and stop the Change-Status-Setup!`,
224+
emoji: ""
225225
}
226226
]
227227
//define the selection
@@ -245,7 +245,7 @@ module.exports = {
245245
let MenuEmbed = new MessageEmbed()
246246
.setColor(es.color)
247247
.setAuthor('Change Status', 'https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/au-kddi/190/purple-heart_1f49c.png', 'https://discord.gg/milrato')
248-
.setDescription(eval(client.la[ls]["cmds"]["setup"]["setup-ticket"]["variable2"]))
248+
.setDescription(`***Select what you need in the \`Selection\` down below***`)
249249
//send the menu msg
250250
let menumsg = await message.reply({
251251
embeds: [MenuEmbed],
@@ -260,7 +260,7 @@ module.exports = {
260260
collector.on('collect', menu => {
261261
if (menu.user.id === cmduser.id) {
262262
collector.stop();
263-
if (menu.values[0] == "Cancel") return menu.reply(eval(client.la[ls]["cmds"]["setup"]["setup-ticket"]["variable3"]))
263+
if (menu.values[0] == "Cancel") return menu.reply(`❌ Cancelled the Process`)
264264
menu.deferUpdate();
265265
let temptype = menu.values[0]
266266
let status = config
@@ -299,7 +299,7 @@ module.exports = {
299299
menumsg.edit({
300300
embeds: [menumsg.embeds[0].setDescription(`~~${menumsg.embeds[0].description}~~`)],
301301
components: [],
302-
content: `${collected && collected.first() && collected.first().values ? `<a:yes:833101995723194437> **Selected: \`${collected ? collected.first().values[0] : "Nothing"}\`**` : "❌ **NOTHING SELECTED - CANCELLED**" }`
302+
content: `${collected && collected.first() && collected.first().values ? `👍 **Selected: \`${collected ? collected.first().values[0] : "Nothing"}\`**` : "❌ **NOTHING SELECTED - CANCELLED**" }`
303303
})
304304
});
305305
}
@@ -399,8 +399,8 @@ module.exports = {
399399
},
400400
{
401401
value: "Cancel",
402-
description: `Cancel and stop the Ai-Chat-Setup!`,
403-
emoji: "862306766338523166"
402+
description: `Cancel and stop the Change-Status-Setup!`,
403+
emoji: ""
404404
}
405405
]
406406
//define the selection
@@ -424,7 +424,7 @@ module.exports = {
424424
let MenuEmbed = new MessageEmbed()
425425
.setColor(es.color)
426426
.setAuthor('Change Status', 'https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/au-kddi/190/purple-heart_1f49c.png', 'https://discord.gg/milrato')
427-
.setDescription(eval(client.la[ls]["cmds"]["setup"]["setup-ticket"]["variable2"]))
427+
.setDescription(`***Select what you need in the \`Selection\` down below***`)
428428
//send the menu msg
429429
let menumsg = await message.reply({
430430
embeds: [MenuEmbed],
@@ -439,7 +439,7 @@ module.exports = {
439439
collector.on('collect', menu => {
440440
if (menu.user.id === cmduser.id) {
441441
collector.stop();
442-
if (menu.values[0] == "Cancel") return menu.reply(eval(client.la[ls]["cmds"]["setup"]["setup-ticket"]["variable3"]))
442+
if (menu.values[0] == "Cancel") return menu.reply(`❌ Cancelled the Process`)
443443
menu.deferUpdate();
444444
let temptype = menu.values[0]
445445
client.user.setStatus(temptype)
@@ -460,7 +460,7 @@ module.exports = {
460460
menumsg.edit({
461461
embeds: [menumsg.embeds[0].setDescription(`~~${menumsg.embeds[0].description}~~`)],
462462
components: [],
463-
content: `${collected && collected.first() && collected.first().values ? `<a:yes:833101995723194437> **Selected: \`${collected ? collected.first().values[0] : "Nothing"}\`**` : "❌ **NOTHING SELECTED - CANCELLED**" }`
463+
content: `${collected && collected.first() && collected.first().values ? `👍 **Selected: \`${collected ? collected.first().values[0] : "Nothing"}\`**` : "❌ **NOTHING SELECTED - CANCELLED**" }`
464464
})
465465
});
466466
}

Diff for: commands/👑 Owner/eval.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ const {
22
MessageEmbed,
33
Util: {
44
splitMessage
5-
}
5+
},
6+
MessageAttachment, MessageActionRow, MessageButton, Collection
67
} = require(`discord.js`);
8+
const Discord = require(`discord.js`);
9+
const moment = require("moment");
10+
const ms = require("ms")
711
var config = require(`${process.cwd()}/botconfig/config.json`);
812
var emoji = require(`${process.cwd()}/botconfig/emojis.json`);
913
const {

0 commit comments

Comments
 (0)