Skip to content

Commit

Permalink
Exclude star emote from markdown
Browse files Browse the repository at this point in the history
According to discord/discord-api-docs#6088 (comment) support for emotes in markdown URLs will likely be dropped, so this change is mostly preemptive.
  • Loading branch information
Glazelf committed Apr 18, 2023
1 parent ecb5082 commit 0c86aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/info/botinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ exports.run = async (client, interaction) => {
.addField("Total Users:", totalMembers.toString(), true)
.addField("Created:", `<t:${createdAt}:f>`, true);
if (ownerBool) botEmbed.addField("Online Since:", `<t:${onlineSince}:R>`, true);
if (githubRepoResponse) botEmbed.addField("Github Stars:", `[${githubRepoResponse.data.stargazers_count}](https://github.com/${githubURLVars}/stargazers)`, true);
if (githubRepoResponse) botEmbed.addField("Github Stars:", `[${githubRepoResponse.data.stargazers_count}](https://github.com/${githubURLVars}/stargazers)`, true);
if (githubMasterResponse) botEmbed.addField("Latest Commit:", lastCommitString, true);

let botButtons = new Discord.MessageActionRow()
Expand Down

0 comments on commit 0c86aef

Please sign in to comment.