mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 06:10:49 +02:00
Add throttling to screenshot
This commit is contained in:
@@ -12,6 +12,10 @@ module.exports = class ScreenshotCommand extends Command {
|
||||
memberName: 'screenshot',
|
||||
description: 'Takes a screenshot of any webpage.',
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 30
|
||||
},
|
||||
credit: [
|
||||
{
|
||||
name: 'Thum.io',
|
||||
|
||||
Reference in New Issue
Block a user