Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.54 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.54 KB

ASF-Bot

Discord Bot coded in JavaScript to control your ASF instance

(and automatically redeem free game promotions and steam points)

Control your ASF instance from within discord.

ASF support server:
Discord
SteamDB server:
Discord

Usage:

To start you have to fill in your config.json file.
You need to join the SteamDB server and set the follow of #free-promotions to a channel of your server (input.CHANNEL_ID).

{
    "bot" : {
        "token" : "Bot token",
        "ID" : "Bot ID"
    },
    "security" : {
        "USER_ID": "Your own user id",
        "SERVER_ID": "Your own guild id",
        "IP" : "Here you put your ASF panel IP:PORT",
        "IPC_PASSWORD" : "Here you put your ASF IPC password",
        "SSL_STAT": "http or https"
    },
    "input" : {
        "CHANNEL_ID": "Relay bot channel ID (relayed from SteamDB Discord server <#845984309638463488>)"
    },
    "TZ" : "Put your Timezone here (luxon) eg. Europe/Berlin"
}

Execute node run.js for the Bot to start.
Once the slash commands are registered and the bot has started and connected to the ASF instance, you can send commands through your discord server.