Skip to content

The API and bots for Developer Sanctuary, all in one repo!

License

Notifications You must be signed in to change notification settings

Developer-Sanctuary/Republic

Repository files navigation

🕸️ Developer Sanctuary Website

The API and bots for Developer Sanctuary, all in one repo!


🤔 What is this repo?

This repository contains the source code for Dev Sanx's stylish website. The site is written using Blazor and C# using ASP.NET, and deployed on both Oracle Server (by me, @Lamparter) and on Raspberry Pi (courtesy of @FireCube).

This repo also contains various bots written in Python and C# (and perhaps also Node in the future) that are built using Developer Sanctuary's distributed bot model.

📋 Bots

Then we need to upgrade copilot bot to replace dyno in general commands Then there is the two big government and projects bot which I’ll handle The small bots include

  • starboard
  • portal bot (taken)
  • tags bot
  • counting bot (will replace with kimbra c# cortana bot but you can upgrade it maybe)
  • cross union bridge bot (you can use the old bot source code)
  • media bot to automate ⁠press
  • court bot to automate lawsuits
  • statbot replacement

as proposed by FireCube in a conversation with Lamparter

🔐 Credentials

In order to run the bots, you will need to provide the appropriate credentials. These credentials appear inside a unified store in the Republic.Private project.

  1. Create a file named Constants.cs in Republic.Private
  2. In the file, paste the following contents:
namespace Republic.Private;

public class Judiciary
{
		public const string Token = "token_for_court_automation_bot";
}

public class Portals
{
	public const string Token = "token_for_portals_bot";

	public class Bot
	{
		public const ulong GuildId = 714581497222398064; // Paste the ID of your target server here.
	}
}
  1. The credentials store should now be working!

If there are any problems here, feel free to create an issue or send a message in the #dev-infrastructure channel in Developer Sanctuary!