mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +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',
|
||||
|
||||
Reference in New Issue
Block a user