Base imagemagick command throttling on response time

This commit is contained in:
Dragon Fire
2020-07-02 21:08:01 -04:00
parent 9160e6ff1b
commit 3b712a6475
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class CharcoalCommand extends Command {
description: 'Draws an image or a user\'s avatar but with charcoal.',
throttling: {
usages: 1,
duration: 60
duration: 15
},
clientPermissions: ['ATTACH_FILES'],
credit: [
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class EmbossCommand extends Command {
description: 'Draws an image or a user\'s avatar but embossed.',
throttling: {
usages: 1,
duration: 60
duration: 15
},
clientPermissions: ['ATTACH_FILES'],
credit: [
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class ImplodeCommand extends Command {
description: 'Draws an image or a user\'s avatar but imploded.',
throttling: {
usages: 1,
duration: 60
duration: 15
},
clientPermissions: ['ATTACH_FILES'],
credit: [
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = class LiquidRescaleCommand extends Command {
description: 'Draws an image or a user\'s avatar but with liquid rescale from ImageMagick.',
throttling: {
usages: 1,
duration: 60
duration: 30
},
clientPermissions: ['ATTACH_FILES'],
credit: [
+1 -1
View File
@@ -14,7 +14,7 @@ module.exports = class NoiseCommand extends Command {
details: `**Types:** ${types.join(', ')}`,
throttling: {
usages: 1,
duration: 60
duration: 15
},
clientPermissions: ['ATTACH_FILES'],
credit: [
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = class OilPaintingCommand extends Command {
description: 'Draws an image or a user\'s avatar but with oil paints.',
throttling: {
usages: 1,
duration: 60
duration: 15
},
clientPermissions: ['ATTACH_FILES'],
credit: [
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class SwirlCommand extends Command {
description: 'Draws an image or a user\'s avatar but swirled.',
throttling: {
usages: 1,
duration: 60
duration: 15
},
clientPermissions: ['ATTACH_FILES'],
credit: [
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "119.4.1",
"version": "119.4.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {