Skip to content

dairi256/FNBattleBusBot

Repository files navigation

Fortnite Battle Bus Bot Static Badge GitHub branch status

A custom Dicord bot created using C# and Discord.Net that provides users with the related Fortnite commands.

Features

  • Discord Slash Commands: Uses modern features for an easy and clean user expeience without the hassle of remembering commands.
  • Epic Games Server Status: When using the /status command, it fetches real time server status of Epic Games, which include Fortnite.

Planned Features

  • Notification system for map changes.
  • Deep console logging and error handling for an intuitive and easy to use bot.

Setup and Installation

  1. Download Files: Please download the .zip that is located at the root of this repository.
  2. Bot Token: If you are running your own instance, you must obtain your own key from the Discord Developer Portal and paste it into appsettings.json along with your server ID.
  3. Run the Excecutable Double-Click the exe file (FNMapAndLootPoolBot.exe)

Bot Commands

All commands are Slash Commands (/) and will appear as you type, or will be displayed once you type /.

Command Description Example
/map Displays the current Fortnite Battle Royale map with Points of Interest (POIs). /map
/shop Displays the current Item Shop. /shop
/status Displays the current Epic Games Server Status. /status
/news Displays news related to BR, STW and Creative modes. /news
/cosmetic Searches a name based on user input. /news <cosmeticName>

Please Note: All information is currently retreived via Fortnite-API.com and Epic Games.

Developer Setup (C#)

This project uses C# and the .NET 9.0, however, I will also be considering changing to .NET 10.0.

  1. Clone the Repository:

    git clone [https://github.com/YourUsername/YourRepoName.git](https://github.com/YourUsername/YourRepoName.git)
  2. Install Dependencies: All dependencies (Discord.Net, etc.) are handled by NuGet when the solution is built.

  3. Configure Secrets: This project uses User Secrets for development security of my tokens.

    • Right-click the project in Visual Studio.
    • Select Manage User Secrets.
    • Add your DiscordToken and TestGuildId.
  4. Run: Launch the project in Visual Studio (F5).

This project is licensed under the MIT License. Read LICENSE for more information.

About

A Discord bot using C# and Discord.Net for various Fortnite related functions to add to your server.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages