Backs up all messages in a discord server with attachments!
- Can't backup more than 536,870,912 messages in a single channel (python array size limit for a 32-bit system i implemented in get_channel_messages method).
- Can't copy contents of forum channels (will implement them later)
Adds a channel to the list of channels for backup. If no channel_id
is provided, the current channel is added.
Removes a channel from the list of channels for backup. If no channel_id
is provided, the current channel is removed.
Lists all backed up channels by their IDs.
Lists all backed up channels by their names.
Starts the backup process. This command retrieves all messages and media from the backed up channels and outputs them into a local folder.
The currently working variables in this bot are stored as JSON files and work as follows:
This is a list of user IDs that are allowed to execute commands.
This is a list of IDs for the categories that have been backed up.
This is a list of IDs for the channels that have been backed up.
This is your timezone. It's used to ensure that timestamps and other time-related data are accurate for your location.