Limit ability for users to spam phone/portal

This commit is contained in:
Dragon Fire
2020-03-19 14:03:35 -04:00
parent c65d8d6b89
commit fab7d6e96b
3 changed files with 9 additions and 1 deletions
+4
View File
@@ -10,6 +10,10 @@ module.exports = class PhoneCommand extends Command {
memberName: 'phone',
description: 'Starts a phone call with a random server.',
guildOnly: true,
throttling: {
usages: 1,
duration: 90
},
args: [
{
key: 'channelID',
+4
View File
@@ -9,6 +9,10 @@ module.exports = class PortalSendCommand extends Command {
group: 'other',
memberName: 'portal-send',
description: 'Send a message to a portal channel.',
throttling: {
usages: 1,
duration: 5
},
args: [
{
key: 'message',
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "112.11.0",
"version": "112.11.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {