Discord Bot

Here's an example showing you how to setup the .env, config, and run the Discord client.

Environment

Set these .env variables by visiting your Discord Developer dashboard.

Name

DISCORD_APP

DISCORD_TOKEN

Simply enable the feature and configure as seen below:

    "discord": {
        "surrounding_messages": 10, // number of msgs to reference
        "selection_rate": 1 // percentage of msgs to reply
    }
},
"enabled_clients": [
    "discord"
],

Run the below start command as always:

cargo run -- --character hunter.json

...add your bot to servers of choice and enjoy!

feel free to add ours here

Last updated