Skip to content

Kiritsu/Kayn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kayn

A Discord/Twitch bot made with DSharpPlus and Qmmands running on ASP.NET Core (.NET 5)

Build Status Discord Server

Requirements

I do not provide any artifact of the program. You will have to build it by yourself. The following tools are needed:

Self-Compilation

  1. Clone the project: git clone https://github.com/Kiritsu/Kayn
  2. Open your IDE to compile or use dotnet build

You can publish the app with: dotnet publish --framework net5.0 --configuration Release --runtime linux-x64. For a list of runtime IDs, please see the .NET Core RID Catalog.

  1. Create a json file and fill the following values:
{
	"Discord" : {
		"Game": "you.",
		"Token": "",
		"Prefix": "!",
		"ClientId": "client_id",
		"ClientSecret": "client_secret"
	},
	"Database" : {
		"Provider": "Postgresql",
		"Hostname": "localhost",
		"Database": "kayn",
		"Port": 5432,
		"Username": "kayn",
		"Password": "p4$$vv0rd"
	}
}

ClientId and ClientSecret are used to OAuth2 authentication with the Web project.

Either rename that file to kayn.json and locate it next to your executable, or create an environment variable KAYN_HOME pointing to that file. The environment variable has a priority over the other option.

Contributing

Since the project is at an early stage, I'm not really accepting contributions for now. Expect them to be open when the database and logging (microservice) systems are done. Issues are available if you have any question/suggestion, etc.

About

A DSharpPlus/Qmmands ASP.NET Core Discord/Twitch bot example made in .NET 5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors