Skip to content

/quote - general improvements #4

Description

@Sidpatchy

/quote is currently unfathomably inefficient. The initial work for this was implemented in 0d1b24d, but is yet to be completed.

Need to figure out if caching (up-to) 50,000 messages is:
A) Against Discord TOS, or
B) Going to nuke the bot.

Alternatively, if there is a better way to pull a random message out of a hat that doesn't involve loading 50,000 messages, I am very open to implementing that, however, as it stands this doesn't appear to be possible with the Discord API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions