-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed all command emojis #17
Conversation
commands/Music/np.js
Outdated
@@ -53,7 +53,7 @@ module.exports = { | |||
return message.lineReply(nowPlaying); | |||
} | |||
if (ms > 0 && ms < 10000) { | |||
nowPlaying.addField("\u200b", "**[" + progressbar.filledBar(ms == 0 ? seek : ms, seek, 25, "<:bar2:838757737596190782>", "<:bar:838757737327755335>")[0] + "]**\n**" + "[" + new Date(seek * 1000).toISOString().substr(11, 8) + " / " + (ms == 0 ? " ◉ LIVE" : new Date(ms * 1000).toISOString().substr(11, 8)) + "]**" + "\n" + "**Time Remaining:** " + "``" + new Date(left * 1000).toISOString().substr(11, 8) + "``", false); | |||
nowPlaying.addField("\u200b", "**[" + progressbar.filledBar(ms == 0 ? seek : ms, seek, 25, `${client.bot_emojis.emoji_bar_1}`, ``${client.bot_emojis.emoji_bar_2}`)[0] + "]**\n**" + "[" + new Date(seek * 1000).toISOString().substr(11, 8) + " / " + (ms == 0 ? " ◉ LIVE" : new Date(ms * 1000).toISOString().substr(11, 8)) + "]**" + "\n" + "**Time Remaining:** " + "``" + new Date(left * 1000).toISOString().substr(11, 8) + "``", false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- progressbar.filledBar(ms == 0 ? seek : ms, seek, 25, `${client.bot_emojis.emoji_bar_1}`, ``${client.bot_emojis.emoji_bar_2}`)[0]
+ progressbar.filledBar(ms == 0 ? seek : ms, seek, 25, client.bot_emojis.emoji_bar_1, client.bot_emojis.emoji_bar_2)[0]
@@ -40,7 +40,7 @@ module.exports = { | |||
return message.lineReply({ | |||
embed: { | |||
color: 16734039, | |||
description: "<:error:860884617770303519> | No giveaway found for " + messageID + ", please check and try again", | |||
description: `${client.bot_emojis.error} | No giveaway found for ` + messageID + ", please check and try again", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be done better, I will improve it later
.addField(`📚 Public Repositories`, `\`\`\`${public_repos || "0"}\`\`\``, true) | ||
.addField(`📚 Public Gists`, `\`\`\`${public_gists || "0"}\`\`\``, true) | ||
.addField(`🖇️ Followers`, `\`\`\`${followers}\`\`\``, true) | ||
.addField(`📎 Following`, `\`\`\`${following}\`\`\``, true) | ||
.addField(`🐙 Github ID`, `\`\`\`${id}\`\`\``) | ||
.addField(`🌐 Location`, `\`\`\`${location || "<:error:860884617770303519> Unknown location"}\`\`\``) | ||
.addField(`📧 E-Mail`, `\`\`\`${email || "<:error:860884617770303519> No public email provided"}\`\`\``) | ||
.addField(`🌐 Location`, `\`\`\`${location || `${client.bot_emojis.error} Unknown location`}\`\`\``) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, I will improve it later too
Thank you again for helping me so much ❤️ |
No description provided.