updating whitelist uses steamname instead of unknown

This commit is contained in:
Skillet 2023-04-17 22:15:23 -04:00
parent d41b16281a
commit dd9a9a464e

View File

@ -40,7 +40,7 @@ class Group(commands.Cog, name="group"):
udata = memupcur.fetchall()
for data in udata:
self.client.whitelistGrps[role.id].addMember(config.WhitelistMember(data[2], "unknown", data[0]))
self.client.whitelistGrps[role.id].addMember(config.WhitelistMember(data[2], data[1], data[0]))
interaction.response.send_message("Whitelist group successfully added/updated")
self.client.squadjs.commit()