Skip to content
/ AFKBot Public

A well, Very simple AFK bot for discord that written in NodeJS with Discord.js Library

License

Notifications You must be signed in to change notification settings

Yonle/AFKBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AFKBot

A well, Very simple AFK bot for discord that written in NodeJS with Discord.js Library.

Story of this project

First time, I think writting a AFK bot code is very hard to do in Discord.js, But i'm wrong, I think multiple time how to do it and finally, I made a very simple code line. I hope you guys enjoy it.

Setting everything up

git clone https://github.com/Yonle/AFKBot
cd AFKBot
npm install --save-optional

Configuration

For Heroku user, Go to App Settings then add TOKEN in Config Vars section with your bot token as the value. Putting Token in Heroku

For self-host user, Install dotenv package and fill all required fields in .env.example files. Then rename the file as .env

# Isn't that simple? 0 Third party, Say what now? =)
# Rename this file as .env after adding your token. Then run after your job done, Good luck....

TOKEN=

Running this bot

node index.js
# Or
npm start

To make @mention, @mention is busy does not gets @invalid-user response, Enable Server Members Intend in your discord OAUTH App.

Database Support

This repo is using Map(). To get a experience of full database support, Use enmap

Community

About

A well, Very simple AFK bot for discord that written in NodeJS with Discord.js Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published