mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2024-12-30 15:19:12 -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()
|
udata = memupcur.fetchall()
|
||||||
for data in udata:
|
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")
|
interaction.response.send_message("Whitelist group successfully added/updated")
|
||||||
self.client.squadjs.commit()
|
self.client.squadjs.commit()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user