Update insufficient balance and new user messages
This commit is contained in:
2
TODO.md
2
TODO.md
@@ -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
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
Reference in New Issue
Block a user