mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Ratelimiting
This commit is contained in:
@@ -13,6 +13,10 @@ module.exports = class YearsCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: '3000years',
|
||||
description: 'It\'s been 3000 years...',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -13,6 +13,10 @@ module.exports = class BeautifulCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'beautiful',
|
||||
description: 'Oh, this? This is beautiful.',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -13,6 +13,10 @@ module.exports = class BobRossCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'bob-ross',
|
||||
description: 'Make Bob Ross draw an avatar.',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -16,6 +16,10 @@ module.exports = class CardCommand extends Command {
|
||||
memberName: 'card',
|
||||
description: 'Creates a Profile Card for the User.',
|
||||
guildOnly: true,
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'member',
|
||||
|
||||
@@ -12,6 +12,10 @@ module.exports = class DexterCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'dexter',
|
||||
description: 'Who\'s that pokemon?',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -10,6 +10,10 @@ module.exports = class GreyscaleCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'greyscale',
|
||||
description: 'Greyscale a user\'s avatar colors.',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -9,6 +9,10 @@ module.exports = class InvertCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'invert',
|
||||
description: 'Invert a user\'s avatar colors.',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -13,6 +13,10 @@ module.exports = class RIPCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'rip',
|
||||
description: 'Puts a user\'s avatar over a gravestone.',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -12,6 +12,10 @@ module.exports = class SimbaCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'simba',
|
||||
description: 'Remember who you are...',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -12,6 +12,10 @@ module.exports = class SteamCardCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'steam-card',
|
||||
description: 'Put an avatar on a Steam Card.',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -12,6 +12,10 @@ module.exports = class TriggeredCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'triggered',
|
||||
description: 'Put an avatar on a "Triggered" sign.',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -12,6 +12,10 @@ module.exports = class WantedCommand extends Command {
|
||||
group: 'avataredit',
|
||||
memberName: 'wanted',
|
||||
description: 'Puts an avatar on a wanted poster.',
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
|
||||
@@ -10,7 +10,7 @@ module.exports = class PruneCommand extends Command {
|
||||
guildOnly: true,
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 60
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
|
||||
@@ -12,6 +12,10 @@ module.exports = class SoundboardCommand extends Command {
|
||||
description: 'Plays a sound in your voice channel.',
|
||||
details: `**Sounds:** ${names.join(', ')}`,
|
||||
guildOnly: true,
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 15
|
||||
},
|
||||
args: [
|
||||
{
|
||||
key: 'sound',
|
||||
|
||||
Reference in New Issue
Block a user