Closed DevInfinix closed 3 years ago
Each server does not have it's own configuration per say. Each server only has the details about each member pertaining to their level and xp. As for the LevelUpAnnouncement
and it's level_up_channel_id
, those are specific to each server that are set by you. As im typing this I discovered a bug where if a level_up_channel_id
was set for one server but someone leveled up in another, an error would occur. I'll fix that today. The library was never made with the intention of multiserver use so that was never implemented (each server having their own configuration).
If you are looking to get information from the database file via SQL query from an on_message
event, you can use method .sql_query_get
to get the level and xp information for that server, but not the level up channel id. That could be changed, but that would require another massive breaking change, and a new .transfer
method would have to be implemented. These are the limitations of not having a real database where things can be changed on the fly without issue.
Hi @Defxult! First of all, I would appreciate your contribution to this library. I did check out version 0.0.2 of the library. It is very nice. Thanks a lot for adding those features. But, I am facing some issues with it.
Thanks.