GrillBot is Discord bot for fun and management VUT FIT discord server.
- PostgreSQL server (minimal recommended version is 13)
- .NET 6.0 (with ASP.NET Core 6)
If you're running bot on Linux distributions, you have to install these packages: tzdata
, ttf-mscorefonts-installer
, fontconfig
, libc6-dev
, libgdiplus
and libx11-dev
.
Only debian based distros are tested. Funcionality cannot be guaranteed for other distributions.
- Microsoft Visual Studio 2022, JetBrains Rider (or another IDE supports .NET)
- dotnet-ef utility (for code first migrations)
If you starting bot in development environment (require environment variable ASPNETCORE_ENVIRONMENT=Development
), you have to fill appsettings.Development.json
.
If you starting bot in production environment (docker recommended), you have to configure environment variables.
Required environment variables:
ConnectionStrings:Default
- Connection string to database.Discord:Token
- Discord authentication token.OAuth2:ClientId
,OAuth2:ClientSecret
- Client ID and secret for login to administrations.
Without these settings the bot will not run.
Recommended environment variables:
Discord:Logging:GuildId
,Discord:Logging:ChannelId
- Guild and channel specification for notifications on errors to channel.Birthday:Notifications:GuildId
,Birthday:Notifications:ChannelId
- Guild and channel specification for notifications of birthdays.
If you're using Docker instance, bind /GrillBotData
directory as volume.
Latest docker image is published in GitLab container registry.
GrillBot is licensed as All Rights Reserved. The source code is available for reading and contribution. Owner consent is required for use in a production environment.