Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.42 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.42 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 by 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"
    },
    "secruity" : {
        "USER_ID": "Your own user id",
        "SERVER_ID": "Your own server id",
        "IP" : "Here you put your ASF panel IP:PORT",
        "IPC_PASSWORD" : "Here you put your ASF IPC password"
    },
    "input" : {
        "CHANNEL_ID": "channel ID for auto-redeem/add"
    },
    "TZ" : "Put your Timezone here (luxon)"
}

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.