Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.57 KB

README.md

File metadata and controls

52 lines (43 loc) · 1.57 KB

Project Description

This discord bot was created on .NET 8 to track the necessary tags from e621 and post the necessary content in channels, there is also a search by e621, and a blocklist system. In the future there will be a tracking update of the user gallery in furaffinity

How to deploy a bot on Linux

First you need to install dotnet-runtime

  1. Download the dotnet installation script
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
  1. We make the script executable and give it these rights
sudo chmod +x ./dotnet-install.sh
  1. Install dotnet-runtime
./dotnet-install.sh --version latest --runtime dotnet
  1. After installing dotnet runtime, we need to add environment variables, here it is written in detail how to do this Set environment variables system-wide

Deploying a bot

  1. Now download hornyDragonProject.tar
wget https://github.com/SylvesterFox/HornyDragonBot/releases/download/0.0.1.5-alpha/HornyDragonBot-0.0.1.5.tar -o hornyDragonProject.tar
  1. Let's unzip the archive
tar -xfv hornyDragonProject.tar
  1. Go to the hornybot directory and create a .env file to configure the bot
cd hornybot
nano .env
  • in the .env file we register our tokens from the discord bot and e621
TOKEN_BOT = <discord token>
TOKEN_E621 = <token e621>
USER_E621 = <username e621>
  1. After setting up the .env file, launch the bot
dotnet HorryDragonProject.dll