rust-community-discord / ferrisbot-for-discord

Rust programming language bot for Discord
MIT License
36 stars 14 forks source link

Rustbot

Inviting the bot

Some permissions are required:

Here's an invite link to an instance hosted by @kangalioo on my Raspberry Pi, with the permissions and scopes incorporated: https://discord.com/oauth2/authorize?client_id=804340127433752646&permissions=268445760&scope=bot%20applications.commands

Adjust the client_id in the URL for your own hosted instances of the bot.

Hosting the bot

The bot requires Server Members Intent enabled in the Applications > $YOUR_BOTS_NAME > Bot settings of Discord's developer portal.

The bot uses shuttle.rs to run, so you'll have to run the bot using cargo shuttle run --release.

The Secrets.dev.toml.template contains an example of the necessary Secrets.dev.toml file for local development.

Credits

This codebase has its roots in rust-lang/discord-mods-bot, the Discord bot running on the official Rust server.