SGA-A / c2c

Source code for the custom app exclusive to cc, where most interactions begin and end.
MIT License
1 stars 0 forks source link

Implement a leveling feature #42

Closed SGA-A closed 8 months ago

SGA-A commented 8 months ago

Is your feature request related to a problem? Please describe. All economy bots have their own leveling system. Hence this bot needs one of it's own. The leveling system is needed because it's another feature that adds to the sense of purpose in player's participation. There are currently no ideal ways of scraping this data from elsewhere, so this needs to be done on our own, built in to the bot itself. This is important, and it does not necessarily require much time to make.

Describe the solution you'd like Removal of the Tatsu API from integrating with the bot. I touched on this here: https://github.com/SGA-A/c2c/pull/41. The reason being is that it is completely redundant to the bot economy. It is simply there to track your Tatsu attributes, and nothing more. Sadly, their API is also very lacklustered and does not dispatch events like if a user has ranked up within the server which would be of use in this case.

Here are some things we have planned for this leveling system:

This list is not exhaustive, more ideas will be added with time.

Describe alternatives you've considered I have found that some people, especially on PyPI, offer libraries for leveling systems and cards for users to view their experience, levels and profile picture neatly sorted into a single card image. I am in the process of considering this, but again it seems more intuitive to make it on our own since there is more 'control' of what we'd like to take place.

Additional context Leveling is a concept where you can execute commands within the bot and earn a random amount of experience for each app command completion. This can also be based on how many messages you send in any given mutual guild the user is in with the bot. This can be used to create incentives for messaging or even to promote usage of the bot.

SGA-A commented 8 months ago

Just wanted to add that there will no longer be a maximum level the player can reach. The level could theoratically be able to reach infinity, but still we do not feel there is a need to set a limit. The changes have been reflected in this commit: https://github.com/SGA-A/c2c/commit/8675194fdee669a18ddbde28d1e35bd76320e3c5.