arma3-life-discord-bot
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Requirements

Installation

  1. Run the command npm i --save arma3-life-discord-bot
  2. 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

Package Sidebar

Install

npm i arma3-life-discord-bot

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

7.3 kB

Total Files

5

Last publish

Collaborators

  • plusflab