Skip to content

peterdragun/grillbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrillBot

GrillBot is Discord bot for fun and management VUT FIT discord server.

Requirements

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.

Development requirements

  • Microsoft Visual Studio 2022, JetBrains Rider (or another IDE supports .NET)
  • dotnet-ef utility (for code first migrations)

Configuration

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.

Docker

Latest docker image is published in GitLab container registry.

Licence

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.

About

Discord bot for VUT FIT server

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.7%
  • Other 0.3%