diff --git a/commands/games/mathgame.js b/commands/games/mathgame.js index 01b8edfe..3c208fc9 100644 --- a/commands/games/mathgame.js +++ b/commands/games/mathgame.js @@ -10,6 +10,10 @@ module.exports = class MathGameCommand extends commando.Command { memberName: 'mathgame', description: 'See how fast you can answer a math problem in a given time limit. (;mathgame easy)', examples: [';mathgame easy', ';mathgame medium', ';mathgame hard', ';mathgame extreme'], + throttling: { + usages: 1, + duration: 10 + }, args: [{ key: 'difficulty', prompt: 'What difficulty should the math game be? easy, medium, hard, or extreme?', diff --git a/commands/games/quiz.js b/commands/games/quiz.js index d8a98de9..69ea714d 100644 --- a/commands/games/quiz.js +++ b/commands/games/quiz.js @@ -12,7 +12,11 @@ module.exports = class QuizCommand extends commando.Command { group: 'games', memberName: 'quiz', description: 'Answer a quiz question. (;quiz)', - examples: [';quiz'] + examples: [';quiz'], + throttling: { + usages: 1, + duration: 15 + }, }); } diff --git a/commands/games/typinggame.js b/commands/games/typinggame.js index 7ae1919b..6fae8bd5 100644 --- a/commands/games/typinggame.js +++ b/commands/games/typinggame.js @@ -9,6 +9,10 @@ module.exports = class TypingGameCommand extends commando.Command { memberName: 'typinggame', description: 'See how fast you can type a sentence in a given time limit. (;typinggame easy)', examples: [';typinggame easy', ';typinggame medium', ';typinggame hard', ';typinggame extreme'], + throttling: { + usages: 1, + duration: 25 + }, args: [{ key: 'difficulty', prompt: 'What difficulty should the typing game be? Easy, Medium, Hard, or Extreme?', diff --git a/commands/moderation/prune.js b/commands/moderation/prune.js index fc470a97..fe793eb7 100644 --- a/commands/moderation/prune.js +++ b/commands/moderation/prune.js @@ -17,6 +17,10 @@ module.exports = class PruneCommand extends commando.Command { description: 'Deletes a defined number of messages from the current channel, up to 99. (;prune 45)', examples: [";prune 45"], guildOnly: true, + throttling: { + usages: 1, + duration: 60 + }, args: [{ key: 'count', prompt: 'How many messages do you want to delete? Limit of up to 99.',