arma3-life-discord-bot

Creates a discord bot that can post & process various types of information for your life's database on arma 3.

Usage no npm install needed!

<script type="module">
  import arma3LifeDiscordBot from 'https://cdn.skypack.dev/arma3-life-discord-bot';
</script>

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

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