Command reference
/export-messages
Download a transcript of recent messages in a text channel or thread (staff)
- Required permission
- ManageMessages
- Where
- Servers and DMs
- Module
- moderationDocumentation for this module
Which of these you see in a server depends on that server's setup and on your own Discord permissions.
Options
channelChanneloptionalChannel to export (default: where you run the command)userUseroptionalOnly include messages from this user (optional)user_idStringoptionalDiscord user ID if you cannot pick the user (17–19 digits)afterStringoptionalInclude messages at or after this time (ISO 8601 or Unix time)beforeStringoptionalInclude messages at or before this time (ISO 8601 or Unix time)limitIntegeroptionalMax messages to export (up to 2000, scans deeper with filters)formatStringoptionalExport file formatinclude_reactionsBooleanoptionalInclude reaction counts (slower for large exports)
Other commands in this module
/banBan a member from the server/caseView and manage moderation cases/channelLock, unlock or slow down a channel/kickKick a member from the server/modutilsModeration utilities and configuration/muteTime a member out so they cannot speak or react for a while/purgeBulk delete messages/unbanLift a ban, or a restriction applied through /ban/warnManage warnings for members
Move one job across and see
Every module is off until you turn it on, so adding Modora changes nothing in your server until you decide it should.