mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Limit ability for users to spam phone/portal
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "112.11.0",
|
||||
"version": "112.11.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user