Update insufficient balance and new user messages

This commit is contained in:
Logan Cusano
2023-02-26 22:16:53 -05:00
parent aa8878feee
commit 14b107dd51
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
## TODOs
- ~~Create balance command for user to view their balance~~
- ~~Create a command that explains the pricing~~
- Update welcome and insufficient replies
- ~~Update welcome and insufficient replies ~~
- add a section for the help menu to show items that need tokens
- add a limiter to the rss feeds to slow down the sends when multiple updates are occurring
- add a blank .env file to the git

View File

@@ -75,11 +75,11 @@ exports.checkBalance = (_discordAccountId, callback) => {
exports.insufficientTokensResponse = (interaction) => {
log.DEBUG("INSUFFICIENT TOKENS RESPONSE")
return interaction.reply("Sorry, not enough tokens for this request.");
return interaction.reply({ content: `Sorry ${interaction.member.user}, you don't have enough tokens for this purchase. Please contact your bot rep to increase your balance to have more fun playing around!`, ephemeral: true });
}
exports.welcomeResponse = (interaction) => {
log.DEBUG("WELCOME RESPONSE")
return interaction.reply("Hey there, you have an account now.");
return interaction.reply({ content: `Hey there ${interaction.member.user}! You haven't ran any commands that require tokens before. I've gone ahead and created an account for you. When you get a chance reach out to your nearest bot rep to fill your balance to start playing around! In the meantime however, you can run \`/pricing\` to view the current pricing.`, ephemeral: true });
}