summaryrefslogtreecommitdiff
path: root/src/commands/voice/play.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/voice/play.ts')
-rw-r--r--src/commands/voice/play.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commands/voice/play.ts b/src/commands/voice/play.ts
index b60cb73..17bca2f 100644
--- a/src/commands/voice/play.ts
+++ b/src/commands/voice/play.ts
@@ -30,7 +30,11 @@ module.exports = class PlayVoice extends Command {
examples: [
'uwu!play https://www.youtube.com/watch?v=dQw4w9WgXcQ',
'uwu!play despacito'
- ]
+ ],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
});
}
async run(msg: CommandoMessage, { query }) {