3.3 KiB
3.3 KiB
Makoto

A feature packed discord bot!
Step by Step Guide on how to set up a Development Environment
- Install the following applications. These should get you started with a basic environment for C# development.
- Git CLI
- Visual Studio 2022
- Select .NET desktop development
- Log into your Github Account with the Git CLI and clone the following repository:
Fortunevale/ProjectMakoto- To clone
ProjectMakotowith it's submodules run:git clone --recurse-submodules "https://github.com/Fortunevale/ProjectMakoto.git"
- To clone
- You can skip this step if you're developing a plugin.
- With this completed, you can already start developing for Makoto. To be able to debug Makoto, follow the guide below.
Running/Debugging Makoto with all necessary dependencies
-
Install the following:
- MariaDB Server
- After installing the MariaDB Server, create 2 new databases: One for the main tables (guilds, users, scam_urls, etc.) and one for server members.
- You'll need a third database if you're using plugins.
- MariaDB Server
-
Create an account on the following sites:
- Discord
- Create a new Discord Team and add a new Discord Application to the previously created team.
- Add a bot to the application and note down the bot token.
- Makoto currently requires the
Presence,Server MembersandMessage ContentIntents. - I recommend disabling the
Public BotOption so no one can add your development client to their server.
- AbuseIPDB API Key
- After creating your account, you can create an api key here.
- Github
- Create a Personal Access Token to your Github Account.
- The bot needs to be able to create issues and read your repository.
- Discord
-
Build and run Makoto until the console says something like "Config reloaded".
-
Open the
config.jsonin the path you built Makoto in (usuallybin/Debug/) and put in all values. -
You're all set.