mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Add face throttling
This commit is contained in:
@@ -12,6 +12,10 @@ module.exports = class FaceCommand extends Command {
|
|||||||
group: 'analyze',
|
group: 'analyze',
|
||||||
memberName: 'face',
|
memberName: 'face',
|
||||||
description: 'Determines the race, gender, and age of a face.',
|
description: 'Determines the race, gender, and age of a face.',
|
||||||
|
throttling: {
|
||||||
|
usages: 1,
|
||||||
|
duration: 30
|
||||||
|
},
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
key: 'image',
|
key: 'image',
|
||||||
|
|||||||
Reference in New Issue
Block a user