Media preservation and "relive past memories" tool.
Jumps to the message the image is comming from. NOTE: Due to the use of ephemeral messages, the unshared bot messages will dissapear once clicked when channel has a sufficiently large amount of messages.
A shorthand for /btfp show random
.
Posts the same image to the channel for everyone to see.
Sends the image to the DMs.
This simple plugin exposes 2 slash commands:
Requires Admin Permissions.
Scans the specified channel for images (starts all the way at the beginning of the channel), (optionally, configured with /btfp config save-images
) downloads them to local storage, and takes a note of all messages that has images. This is required to display images, as bots do not have access to the search discord API.
Displays a random image which was indexed by /btfp import
.
Message components can be accessed by right-clicking a messagage and navigating to Apps
section in the dropdown.
Creates a new blast from the image and shares it in the channel. Equivalent to the Share component.
Creates a new blast from the image and saves in DMs. Equivalent to the Save component.
When self-hosting and not using the official bot, you can additionally archive the images you want!
# ./docker-compose.yml
services:
app:
image: ghcr.io/gedasfx/discord-blastfromthepast:master
environment:
DISCORD_TOKEN: ${DISCORD_TOKEN}
ARCHIVE_DISCORD_GUILD_IDS: 123,456,789,COMMA_SEPERATED_GUILD_IDS_YOU_WANT_TO_ARCHIVE_IMAGES_OF
volumes:
- ./data:/app/data
restart: unless-stopped
Make sure to also update the user of the folder:
sudo chown 1654:1654 ./data
The bot locally stores guild_id
, channel_id
, message_id
, and attachment_id
of every message with images. It is not enough to reconstruct the images without the bots presence.
All data gets deleted after bot is removed from the Discord Server.