Levante
An open-source Discord bot using Discord.Net for various Destiny 2 Needs.
Developed by @OatsFX.
Invite the Official Bot to your Server:
Click this link to invite the bot!
Current Features:
- XP Logging and Inactivity Detection
- Most Activity Rotations Updates and Tracking
- Leaderboards for things regarding the above
- Guardian view commands
- View emblems and weapons (along with their perks)
- Emblem Offers
- Try out an in-game emblem
Known Issues:
- We've got a list of Known Issues on our support Discord server.
Having Issues?
There are a few things you can do if there are any issues with the official bot user:
- Please make sure your issue is not already a Known Issue.
- Create an Issue here on GitHub.
- Join the official support server and shoot a message in the #report channel.
Stuff for Nerds
Building this Project:
This project is built using the most recent version of Visual Studio Community 2022 using the C# (8.0) language on the .NET v6 framework.
Basic Run Downs of Implementions:
XP Logging
- We make individual calls, per user, to the Bungie API while they are playing Destiny 2 to log their XP gains.
- If their are no XP gains after the base refresh one time in a row, we will assume the player is no longer playing Destiny 2.
- After a user is taken out of active logging, we will save their stats into a JSON file which then will be used for leaderboard commands.
Reset Tracking:
- We've implemented a "Daily/Weekly Reset" system which changes rotations, like Lost Sectors and Raid Challenges, at the same time the Destiny 2 Resets occur.
- There is also a system that makes calls to Bungie's API to get rotations that are random, like Ada-1's mod inventory.
- We have a JSON that stores any potential alerts for a Discord user. If a user wants to be notified of a specific rotation, they can use this.
- We check said JSON and let them know if their desired rotation is active for that day or week.
Emblem Offers:
- We've implemented a way for players to be notified if an limited time emblem is available. These alerts are manual and added by Bot Staff, appointed by myself.
- After an Offer is added, Staff are prompted if they want to sent the offer as an alert. If yes, the embed will make its way to every channel that has the alerts set up.
- This uses the Bungie API for images and the Hash Code.
Leaderboards:
- We store all of the leaderboard data in its own JSON file and then quick sort it when a command is called.
and more to come...
Congratulations, you've made it to the end.