mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Make ids as strings for online embed users
This commit is contained in:
parent
074a6e6986
commit
ba8b100e33
@ -125,7 +125,7 @@ def get_online_embed_users(guild_id):
|
|||||||
client_id = user.client_id
|
client_id = user.client_id
|
||||||
usrdb = db.session.query(GuildMembers).filter(GuildMembers.guild_id == guild_id).filter(GuildMembers.user_id == client_id).first()
|
usrdb = db.session.query(GuildMembers).filter(GuildMembers.guild_id == guild_id).filter(GuildMembers.user_id == client_id).first()
|
||||||
meta = {
|
meta = {
|
||||||
'id': usrdb.user_id,
|
'id': str(usrdb.user_id),
|
||||||
'username': usrdb.username,
|
'username': usrdb.username,
|
||||||
'nickname': usrdb.nickname,
|
'nickname': usrdb.nickname,
|
||||||
'discriminator': usrdb.discriminator,
|
'discriminator': usrdb.discriminator,
|
||||||
|
Loading…
Reference in New Issue
Block a user