arma3-life-discord-bot
v1.0.5
Published
Creates a discord bot that can post & process various types of information for your life's database on arma 3.
Downloads
4
Maintainers
Readme
arma3-life-discord-bot
Creates a discord bot that can view various types of information for your life's database on arma 3.
Features
- Retrieve information on a specific player
Commands
- +help screenshot
- +info (playerid/steam64id) screenshot
Requirements
- Node.JS
- NPM - Installed by default with Node.JS
- Discord Bot Token
- a3ldb
Installation
- Run the command
npm i --save arma3-life-discord-bot
- Done! Now to configure.
Configuration
Package
Add this to the top of your file
const a3l_discord_bot = require("arma3-life-discord-bot")
Bot setup
Add this to your code. Token can be found on discord.com under your application's bot section. Make sure you have a3ldb configured so the bot can connect to your database!
a3l_discord_bot.Config({
Token: "your token"
})
Functions
a3l_discord_bot.Config(Config)
- This function configs the bot and starts it up.
- You must pass an object as a parameter adn the values must be strings.
Object Values
- "Token" (string) - The token found under your application's bot section on discord.com
To-Do List
- Hardcode command to update cash,bank,levels,arrest, and blacklist on player
- Hardcode command to view total money,vehicles,houses, and gangs