Have ideas to improve npm?Join in the discussion! »

    arma3-life-discord-bot

    1.0.3 • 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

    Install

    npm i arma3-life-discord-bot

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    7.38 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar