mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2024-12-30 14:09:13 -06:00
updating whitelist uses steamname instead of unknown
This commit is contained in:
parent
d41b16281a
commit
dd9a9a464e
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user