Defxult / discordLevelingSystem

A library to implement a leveling system into a discord bot. Contains features such as XP, level, ranks, and role awards.
MIT License
91 stars 17 forks source link

open for contribution? #16

Closed krishsharma0413 closed 2 years ago

krishsharma0413 commented 2 years ago

Is the repository open for contribution?

If it is open I would love to work on some leveling cards for more user customization...

using PIL i made this and would live to implement here, if possible

image

also i have some ideas for leaderboard I would love to work on a fork if i am allowed to make something like this!

Defxult commented 2 years ago

It is open for contributions. I haven't added rank cards because I don't have any experience with Pillow but rank cards would be a good addition. What do you have in mind for leaderboard?

krishsharma0413 commented 2 years ago

the leaderboard i just finished working on and should look somewhat like this...

image

Though this is subjected to change.

PS: the avatar on the LEADERBOARD is actually the server icon and background image is a little too weird

Defxult commented 2 years ago

Oh ok. It looks pretty cool! If you make a PR, I'll review it, test it, all the pre-release checks and whatnot. From the looks of it, it would be a great addition.

krishsharma0413 commented 2 years ago

Alright i will make a draft PR when i get the time and we should discuss a little more things while we at it,

1) Avatar are images so we might need to use fp or requests/aiohttp for URLs.

2) Should there be a completely new file with its own class system for this or do you want me to integrate it within DiscordLevelingSystem class.

address these issues before i start working on the PR or later would have to redo everything if it doesn't meet your expectations

Defxult commented 2 years ago

aiohttp would be the better choice. As for number 2, I'd make it's own class for it.