Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sitcommunity/discord-afk-js
discord-afk-js package is a convenient tool for creating AFK commands
https://github.com/sitcommunity/discord-afk-js
afk database discord discord-bots javascript mongoose nodejs
Last synced: about 2 months ago
JSON representation
discord-afk-js package is a convenient tool for creating AFK commands
- Host: GitHub
- URL: https://github.com/sitcommunity/discord-afk-js
- Owner: SITCommunity
- License: mit
- Created: 2023-04-25T05:18:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-18T11:33:37.000Z (3 months ago)
- Last Synced: 2024-11-16T01:11:42.937Z (about 2 months ago)
- Topics: afk, database, discord, discord-bots, javascript, mongoose, nodejs
- Language: JavaScript
- Homepage: https://cyrateam.xyz/project/discord-afk-js
- Size: 9.35 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/code_of_conduct.md
- Codeowners: .github/codeowners
Awesome Lists containing this project
README
# discord-afk-js
**[discord-afk-js](https://www.npmjs.com/package/discord-afk-js?activeTab=readme)** is a JavaScript library created to facilitate the management of AFK (Away From Keyboard) status within Discord bots. This library is designed to simplify the process of tracking and handling AFK users in a Discord server without the need for an external database.
# Requirements
- [NodeJS](https://nodejs.org) 18.x or higher
# Installation
To start using **discord-afk-js**, you can install it through npm, the Node.js package manager. Open your terminal and run the following command:
```bash
npm install discord-afk-js
```# Usage
[No Database Version](https://github.com/SITCommunity/discord-afk-js/tree/nodb-stable?tab=readme-ov-file)
[Database Version](https://github.com/SITCommunity/discord-afk-js/tree/db-stable?tab=readme-ov-file)
# License
This project is open-source and is licensed under MIT License. You can find more details about the license in the [LICENSE.md](https://github.com/SITCommunity/discord-afk-js/blob/main/LICENSE) file included in the project.
With this comprehensive readme, you have a clear and detailed guide on how to use the **discord-afk-js** library to manage AFK status in your Discord bot.
# Discord Servers