Skip to content

Lachee/dingo-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dingo Bot

A Rainbow Six Siege Bot

Installation

Requirements:

  1. DotNet Core 2.0
  2. A Redis Service (can be remote)
  3. WkHtmlToPDF recommend to use the MXE for windows

Redis

Just setup a redis service somewhere. It is used for caching basically everything such as guild settings and reponse messages.

WkHtmlToPDF

Windows

  1. Download the WkHtmlToPDF zip file.
  2. Extact its contents somewhere memorable. I extracted mine to D:/wkhtmltox
  3. Make note of where the wkhtmltoimage.exe is located. We need to store this path later.

Ubuntu

  1. Run sudo apt-get install xvfb libfontconfig wkhtmltopdf
  2. Make sure it works. realpath is a good tip.

The Bot

To run the bot, simply use dotnet run --project DingoBot. EZ. When you first run it, a configuration file will be generated. Depending if you are using Visual Studio for debugging or DotNet to run it, the configuration file will be placed in different locations. It is wherever the current working directory is. It is called config.json by default.

Open this configuration up. You will see its a JSON file with a variety of options:

TokenFile is the relative file that stores the Discord Bot Token. This file is excluded from the git repository.

Resources is the relative path to the Resources folder.

Redis is the connection details to the redis

WkHtmlToImage is the complete path to the wkthtmltoimage executable.

  • Windows: D:\wkhtmltox\bin\wkhtmltoimage.exe
  • Linux: xvfb-run wkhtmltoimage (needs to be virtualized)

Once these are all configured, run the bot again and it should connect just fine.

About

A Rainbow Six Siege bot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published