move interaction

This commit is contained in:
Skillet 2023-04-25 19:43:19 -04:00
parent e43dd7f39c
commit 50bea9570c

View File

@ -24,6 +24,7 @@ class Group(commands.Cog, name="group"):
name=role.name, roleID=role.id, permissions=perms name=role.name, roleID=role.id, permissions=perms
) )
await interaction.response.send_message("Whitelist group successfully added/updated")
membsup = [] membsup = []
for memb in role.members: for memb in role.members:
membsup.append(memb.id) membsup.append(memb.id)
@ -38,7 +39,6 @@ class Group(commands.Cog, name="group"):
for data in udata: for data in udata:
self.client.whitelistGrps[role.id].addMember(config.WhitelistMember(data[2], data[1], data[0])) 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() self.client.squadjs.commit()
@app_commands.command() @app_commands.command()