Chatlog
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
A backup saves a few messages from every channel. A chatlog saves many more from the one channel you run it in, so a busy support or announcement channel keeps more of its history. Chatlogs are stored on your account and listed by /chatlog list. They’re only removed when you delete them.
Creating a chatlog
Section titled “Creating a chatlog”Save the recent messages in this channel. The bot replies with the chatlog id. You need it to load or delete the chatlog later.
message_count optionalThe number of messages to save. Defaults to the most your tier allows.
- Default
0 / 250 / 500 / 1000- Max
0 / 250 / 500 / 1000
before optionalWhere to start reading backwards from. Accepts either a message id or the id of an existing chatlog. Pass a chatlog id to pick up where that chatlog stopped. That’s how you save a channel’s history further back than one chatlog reaches.
Loading a chatlog
Section titled “Loading a chatlog”Repost a saved chatlog into a channel. Messages are posted in order through a webhook, so they show the original authors’ names and avatars.
You can find your chatlog ids with /chatlog list.
If files attached to messages don’t load, see message attachment limitations.
chatlog_id requiredThe id of the chatlog you want to load. You get this when you create one, and
/chatlog list shows them all.
message_count optionalThe number of messages to load from the chatlog. Defaults to the most your tier allows.
- Default
0 / 250 / 500 / 1000- Max
0 / 250 / 500 / 1000
Deleting a chatlog
Section titled “Deleting a chatlog”You can find your chatlog ids with /chatlog list.
chatlog_id requiredThe id of the chatlog you want to delete.