Turns text channels into a Snapchat-style chats, where messages are deleted after 24 hours. You can save messages by reacting with 💾.
Click install to add it to your server 😊
- Automatically deletes old messages.
- Set how long messages last in the channel.
- Messages reacted with 💾 are saved.
Enables Snapcord in a channel with a specified duration.
| Option | Required | Description |
|---|---|---|
duration |
yes | Amount of time before messages are deleted. |
channel |
no | Which channel to enable (this one by default). |
Disables Snapcord in a channel.
| Option | Required | Description |
|---|---|---|
channel |
no | Which channel to disable (this one by default). |
Replies whether or not Snapcord is enabled in a channel.
| Option | Required | Description |
|---|---|---|
channel |
no | Which channel to enable (this one by default). |
- Node.js (latest LTS version recommended)
- A Discord bot token
- A PostgreSQL database hosted on Neon
-
Clone this repository:
git clone https://github.com/Helmare/snapcord.git cd snapcord -
Install dependencies:
npm install
-
Create a
.envor.env.developmentfile and add the following:SLEEP_DURATION=60000 DISCORD_CLIENT_TOKEN='your-token' DATABASE_URL='your-database-url'
-
Start the bot:
npm run dev