-
Notifications
You must be signed in to change notification settings - Fork 18
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
Set activity and use codey coin emojis #276
Conversation
Pls provide screenshots, thanks :)) |
Added |
also the linter is angy |
I don't know why the linter is still angry |
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.
Thanks for this PR! :) Prettier is telling you to write the code on more lines. You can do yarn format
for automatic formatting. I also left a comment.
src/commandDetails/coin/info.ts
Outdated
const COIN = getCoinEmoji(); | ||
const infoEmbed = new MessageEmbed() |
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.
My guess as to why "undefined" appeared in the coin info embed is that these constants are initialized before initEmojis()
in ready.ts
is completed (I don't currently have my dev environment with me to verify). Would the custom emoji show if you try placing these 2 constants into coinInfoExecuteCommand
instead?
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.
Thanks it worked! The linter's nice
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.
Glad it worked! :)
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.
LGTM!
`/coin check` originally had a mandatory argument of a target user to check the balance of. Now the argument defaults to the user who called the command, making it more ergonomic to use. Set activity and use codey coin emojis (uwcsc#276) * uwcsc#254 * Change default coin emoji to the Codey coin emoji * Add fallback if codeycoin emoji does not exist * Embed the codey coin image as a thumbnail * Fix bot.ts 43:32 linter issue * Fix undefined coin emoji in .coin info * Fix linter in adjust.ts
Summary of Changes
Resolves these issues.
#253
#254
Steps to Reproduce
The bot's status is Playing CSC | .help
Play blackjack and confirm codey coins appear properly.