Skip to content
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

Merged
merged 7 commits into from
Aug 26, 2021
Merged

Fixed all command emojis #17

merged 7 commits into from
Aug 26, 2021

Conversation

r-kjha
Copy link
Contributor

@r-kjha r-kjha commented Aug 26, 2021

No description provided.

@@ -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);
Copy link
Owner

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",
Copy link
Owner

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`}\`\`\``)
Copy link
Owner

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

@IgorKowalczyk IgorKowalczyk merged commit a3ed7ba into IgorKowalczyk:master Aug 26, 2021
@IgorKowalczyk
Copy link
Owner

Thank you again for helping me so much ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants