summaryrefslogtreecommitdiff
path: root/src/commands/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/crypto')
-rw-r--r--src/commands/crypto/btc.ts4
-rw-r--r--src/commands/crypto/btcchange.ts4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/commands/crypto/btc.ts b/src/commands/crypto/btc.ts
index 3f3ffe9..5fd5f67 100644
--- a/src/commands/crypto/btc.ts
+++ b/src/commands/crypto/btc.ts
@@ -23,6 +23,10 @@ module.exports = class BTCCrypto extends Command {
'uwu!crypto cad',
'uwu!btc usd'
],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
diff --git a/src/commands/crypto/btcchange.ts b/src/commands/crypto/btcchange.ts
index 67eb0c7..4218c31 100644
--- a/src/commands/crypto/btcchange.ts
+++ b/src/commands/crypto/btcchange.ts
@@ -18,6 +18,10 @@ module.exports = class BTCChangeCrypto extends Command {
type: 'string'
}
],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
examples: [
'uwu!btcchange day',
'uwu!bitcoinchange hour',