MabiGuildHelper is a Discord bot that helps guild management in Mabinogi which written with .Net 8
- Daily effect notification
- Daily dungeon information notification
- Display in game Erinn time
- Instance reset reminder
- Data scraping from Mabinogi website
- Funny reponse in discord chat
- In game chat history synchronization
Setup the channel using /setting
command.
/setting <setting name> <value>
Right click message
- Visual Studio 2022
- Discord Bot Token
Download Visual Studio 2022 from here.
To get your Discord Bot Token, go to Discord Developer Portal and create a new application. Then, go to the Bot tab and create a new bot. You can get your token in the Bot tab.
To invite your bot to your server, go to the OAuth2 tab and select bot in the Scopes section. Then, select the permissions you want your bot to have in the Bot Permissions section. Finally, copy the link and paste it in your browser. You can invite your bot to your server from there.
Copy appsettings.template.json
to appsettings.json
and fill in with you token/api key.
Setup DOTNET_ENVIRONMENT
(Local/Development/Production) DiscordBot.Token
is required in Production
environment. DiscordBot.BetaToken
is required in Local
/Development
environment.
This project uses SQLite as database. You can change the connection string in appsettings.json
.
Commnet out all .AddSingleton<>()
, AddScoped<>
in Program.cs and run the following command in Package Manager Console.
After edit entity:
Add-Migration <MigrationName>
To remove migration:
Remove-Migration