From 36340d096054e7a562e8ea0f0f6e30c15082b84a Mon Sep 17 00:00:00 2001 From: Aterfax Date: Mon, 22 May 2023 21:06:03 +0100 Subject: [PATCH] website/integrations: Update discord integration role check expression - fix errors. (#5723) * Fix spurious curly close bracket. Signed-off-by: Aterfax * Remove spurious whitespace. Signed-off-by: Aterfax --------- Signed-off-by: Aterfax --- website/integrations/sources/discord/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/integrations/sources/discord/index.md b/website/integrations/sources/discord/index.md index 83a5db49f..1f673040d 100644 --- a/website/integrations/sources/discord/index.md +++ b/website/integrations/sources/discord/index.md @@ -142,7 +142,7 @@ if "code" in guild_member_object: if guild_member_object['code'] == 10004: ak_message(f"User is not a member of {GUILD_NAME_STRING}.") else: - ak_create_event("discord_error", source=context['source'], code= guild_member_object['code']}) + ak_create_event("discord_error", source=context['source'], code=guild_member_object['code']) ak_message("Discord API error, try again later.") # Policy does not match if there is any error. return False