Fixed auto role add
This commit is contained in:
parent
7e6053768f
commit
3117f617d9
@ -124,7 +124,7 @@
|
||||
"success": "auto-role {} wurde entfernt :D"
|
||||
},
|
||||
"react": {
|
||||
"success": "Alle Reaktionen wurden hinzugefügt",
|
||||
"success": "Alle Reaktionen wurden hinzugefügt"
|
||||
},
|
||||
"rule": {
|
||||
"add": {
|
||||
|
@ -258,7 +258,7 @@ class AutoRoleGroup(DiscordCommandABC):
|
||||
|
||||
@remove.autocomplete("auto_role")
|
||||
async def react_autocomplete(
|
||||
self, interaction: discord.Interaction, current: str
|
||||
self, interaction: discord.Interaction, current: str
|
||||
) -> TList[app_commands.Choice[str]]:
|
||||
return await self._auto_role_auto_complete(interaction, current)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "kdb-web",
|
||||
"version": "1.1.7",
|
||||
"version": "1.1.8",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"update-version": "ts-node update-version.ts",
|
||||
|
@ -199,7 +199,7 @@ export class AutoRolesComponent extends ComponentWithTable implements OnInit, On
|
||||
return;
|
||||
}
|
||||
|
||||
if (!newAutoRole.id || !newAutoRole.channelId && !newAutoRole.messageId) {
|
||||
if (!newAutoRole.id && !this.isEditingNew || !newAutoRole.channelId && !newAutoRole.messageId) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2,6 +2,6 @@
|
||||
"WebVersion": {
|
||||
"Major": "1",
|
||||
"Minor": "1",
|
||||
"Micro": "7"
|
||||
"Micro": "8"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user