Skip to content

ChatGPT - Slash command improvements #812

@Zabuzard

Description

@Zabuzard

We recently added a /chatgpt slashcommand. It is now time to fine-tune it:

  • limit message length to prevent people from sending a huge ass message that rips all our money (maybe 200?)
  • limit usages per user to maybe once per 10 seconds (can use a Caffeine cache)
  • make the message optional and if its left out, a modal will popup - allowing users to enter multi-line messages, for example including code (same limits apply)

Until this issue is implemented, the slash command has to remain locked for regular users, to prevent abuse.

Metadata

Metadata

Assignees

Labels

enhance commandModify or improve an existing command or group of commands of the botpriority: major

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions