mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2024-12-28 22:29:13 -06:00
move interaction
This commit is contained in:
parent
e43dd7f39c
commit
50bea9570c
@ -24,6 +24,7 @@ class Group(commands.Cog, name="group"):
|
||||
name=role.name, roleID=role.id, permissions=perms
|
||||
)
|
||||
|
||||
await interaction.response.send_message("Whitelist group successfully added/updated")
|
||||
membsup = []
|
||||
for memb in role.members:
|
||||
membsup.append(memb.id)
|
||||
@ -38,7 +39,6 @@ class Group(commands.Cog, name="group"):
|
||||
for data in udata:
|
||||
self.client.whitelistGrps[role.id].addMember(config.WhitelistMember(data[2], data[1], data[0]))
|
||||
|
||||
await interaction.response.send_message("Whitelist group successfully added/updated")
|
||||
self.client.squadjs.commit()
|
||||
|
||||
@app_commands.command()
|
||||
|
Loading…
Reference in New Issue
Block a user