summaryrefslogtreecommitdiff
path: root/src/commands/utility/btc.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-16 04:56:37 -0700
committer8cy <[email protected]>2020-04-16 04:56:37 -0700
commit8c435855e647ee7aef8578e253caf91fe44c67cc (patch)
treeae0bb59de10ecec5ca2fc01dfa9190efd1f177ab /src/commands/utility/btc.ts
parentno longer hosting ws, v6.0.4 (diff)
downloaddep-core-8c435855e647ee7aef8578e253caf91fe44c67cc.tar.xz
dep-core-8c435855e647ee7aef8578e253caf91fe44c67cc.zip
The Purification, v7.0.0
add: - aesthetic, oddcase, stretch, surreal - culturedtext - dogeify - howify - insult - lorem - spongebob Other Stuff: - many refactoring
Diffstat (limited to 'src/commands/utility/btc.ts')
-rw-r--r--src/commands/utility/btc.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/utility/btc.ts b/src/commands/utility/btc.ts
index 2845194..c0c14f3 100644
--- a/src/commands/utility/btc.ts
+++ b/src/commands/utility/btc.ts
@@ -1,4 +1,4 @@
-import { Command } from 'discord.js-commando';
+import { Command, CommandoMessage } from 'discord.js-commando';
import emoji from 'emoji-random';
import btc from 'btc-value';
btc.setApiKey('a43419ce-fc59-4951-8af9-20c5e36ef73f');
@@ -14,7 +14,7 @@ module.exports = class BTCUtility extends Command {
args: [
{
key: 'currencyName',
- prompt: 'What currency could you like to see it in? (USD, AUD, CAD)',
+ prompt: 'What currency could you like to see it in? (USD, AUD, CAD, etc.)',
type: 'string'
}
],
@@ -27,7 +27,7 @@ module.exports = class BTCUtility extends Command {
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
- run(msg: Message, { currencyName }) {
+ run(msg: CommandoMessage, { currencyName }) {
currencyName = currencyName.toUpperCase();
btc({ isDecimal: true, currencyCode: currencyName }).then(value => {
msg.reply('The current price of *Bitcoin* in **' + currencyName + '** is **' + value + '**. ' + emoji.random());