Skip to content

v1.0.1

Compare
Choose a tag to compare
@Defxult Defxult released this 24 Aug 05:33
· 97 commits to main since this release

New Features

  • Added the ability to insert your own leveling system data into the library. Typically used if you're currently using a json leveling system, but can be converted from any system as long as the necessary values are given (beta) (docs)
    • DiscordLevelingSystem.insert(bot: Union[Bot, AutoShardedBot], guild_id: int, users: Dict[int, int], using: str, overwrite: bool=False, show_results: bool=True)
  • Added the ability manually add a record to the database
    • DiscordLevelingSystem.add_record(guild_id: int, member_id: int, member_name: str, level: int)
  • Added method MemberData.to_dict()
  • Added function discordLevelingSystem.version_info() . This will be the standard way for getting the information about what version of the library you are using