Skip to content

Repository files navigation

discord-luau

    DiscordLuau

Discord

The official support bot for the discord-luau Discord server.

Running locally

Install zune and pesde, then:

pesde install
touch .env.luau  # add your DISCORD_BOT_TOKEN
zune run src/init.luau

.env.luau must export a table with a DISCORD_BOT_TOKEN key:

return {
    DISCORD_BOT_TOKEN = "your_token_here"
}

Docker

Build and run a one-off container:

docker build -t discord-bot .
docker run -e DISCORD_BOT_TOKEN=your_token -v ./bot.db:/app/bot.db discord-bot

bot.db is mounted as a volume so it persists across container restarts. If the file does not exist yet, create it first:

touch bot.db

Docker Compose

Create a .env file in the same directory as this repository

touch .env
DISCORD_BOT_TOKEN=your_token_here

Then start the bot:

docker compose up -d

To rebuild after a code change:

docker compose up --build -d

Logs:

docker compose logs -f

About

The source code for the discord-luau discord bot

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages