Skip to main content
The Discord plugin syncs data locally. Use corsair.discord.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Channels

Path: discord.db.channels.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Guilds

Path: discord.db.guilds.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Members

Path: discord.db.members.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Messages

Path: discord.db.messages.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.