https://github.com/snipcola/discord-keep-alive
Keeps your discord account online, and optionally sets a custom status or activity.
https://github.com/snipcola/discord-keep-alive
alive discord keep selfbot
Last synced: 9 months ago
JSON representation
Keeps your discord account online, and optionally sets a custom status or activity.
- Host: GitHub
- URL: https://github.com/snipcola/discord-keep-alive
- Owner: snipcola
- License: mit
- Created: 2024-11-06T20:54:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-14T03:46:22.000Z (about 1 year ago)
- Last Synced: 2025-03-28T07:11:14.917Z (about 1 year ago)
- Topics: alive, discord, keep, selfbot
- Language: JavaScript
- Homepage:
- Size: 29.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Discord-Keep-Alive
Keeps your discord account online. You can also set a custom status or activity.
## Prerequisites
Make sure the following are installed:
- [node](https://nodejs.org)
## Instructions
1. **Clone Project**
Run the following in a terminal:
```
git clone https://code.snipcola.com/snipcola/Discord-Keep-Alive.git
```
2. **Install Dependencies**
`cd` into the cloned directory and run `npm install`.
3. **Configuration**
Create an `.env` file in the root of the directory with the following variables:
- `TOKEN` Discord account token. Required.
- `DEVICE` One of the following:
- `web` (default)
- `desktop`
- `mobile`
To change the status:
- `STATUS` One of the following:
- `online`
- `idle`
- `invisible`
- `dnd`
To set an activity:
- `ACTIVITY` Activity name or custom status.
- `ACTIVITY_TYPE` One of the following:
- `custom` (custom status)
- `playing`
- `streaming`
- `listening`
- `watching`
- `competing`
- `hang`
The following variables will only apply if `ACTIVITY_TYPE` is `custom`.
- `ACTIVITY_EMOJI` Emoji or emoji id.
The following variables will only apply if `ACTIVITY_TYPE` is **not** `custom`.
- `ACTIVITY_PLATFORM` One of the following:
- `desktop`
- `samsung`
- `xbox`
- `ios`
- `android`
- `embedded`
- `ps4`
- `ps5`
- `ACTIVITY_TIMESTAMP` Timestamp of when the activity started.
- `ACTIVITY_APPLICATION_ID` Activity application id, `1` by default.
- `ACTIVITY_DETAILS` Activity description.
- `ACTIVITY_URL` Media URL, if streaming.
- `ACTIVITY_LARGE_IMAGE` Large image, can be a discord cdn url.
- `ACTIVITY_LARGE_IMAGE_TEXT` Pop-up text when large image is hovered.
- `ACTIVITY_SMALL_IMAGE` Small image, can be a discord cdn url.
- `ACTIVITY_SMALL_IMAGE_TEXT` Pop-up text when small image is hovered.
To add a button to the activity:
- `ACTIVITY_BUTTON` Button text.
- `ACTIVITY_BUTTON_URL` Button URL.
**Tip:** For a second button, use `ACTIVITY_BUTTON_2` and `ACTIVITY_BUTTON_2_URL`.
To set a "party" for the activity:
- `ACTIVITY_PARTY_ID` Activity party id, `1` by default.
- `ACTIVITY_PARTY_CURRENT` Amount of current users.
- `ACTIVITY_PARTY_MAX` Amount of max users.
4. **Start**
Run `node .`.
## Credits
- [discord.js-selfbot-v13](https://github.com/aiko-chan-ai/discord.js-selfbot-v13), fork of discord.js for selfbots