Skip to content

Commit

Permalink
Disable broken webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Jan 21, 2025
1 parent 659a56a commit 531a007
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions site/controllers/partners-signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,36 +108,36 @@
}

// Send a Discord webhook on success
Discord::submit(
username: 'getkirby.com/partners',
webhook: option('keys.discord.hooks.partners'),
title: '🦹 New Partner Application',
color: '#ebc747',
description: $website,
author: [
'name' => $name,
'url' => $website,
'icon' => gravatar($email, 'retro')
],
fields: [
[
'name' => 'Business Type',
'value' => $businessName
],
[
'name' => 'Location',
'value' => $location
],
[
'name' => 'Plan',
'value' => $plan
],
[
'name' => 'People',
'value' => $people
],
],
);
// Discord::submit(
// username: 'getkirby.com/partners',
// webhook: option('keys.discord.hooks.partners'),
// title: '🦹 New Partner Application',
// color: '#ebc747',
// description: $website,
// author: [
// 'name' => $name,
// 'url' => $website,
// 'icon' => gravatar($email, 'retro')
// ],
// fields: [
// [
// 'name' => 'Business Type',
// 'value' => $businessName
// ],
// [
// 'name' => 'Location',
// 'value' => $location
// ],
// [
// 'name' => 'Plan',
// 'value' => $plan
// ],
// [
// 'name' => 'People',
// 'value' => $people
// ],
// ],
// );

go('partners/join/success');
} catch (Throwable $e) {
Expand Down

0 comments on commit 531a007

Please sign in to comment.