feat: wire discord and paypal configs to panel settings

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/6163aa0e-000d-4376-ad24-9f63a04f4d95

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-21 13:28:06 +00:00 committed by GitHub
parent c1d7c27b35
commit 428bccb6ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 336 additions and 134 deletions

View file

@ -48,16 +48,8 @@ function exec_ogp_module() {
// URL FROM DISCORD WEBHOOK SETUP
$webhook = "https://discordapp.com/api/webhooks/710275918274363412/g5Tr-EUdEnLfFryOlscxJ6FuPiSJuE6EMKRYmh9UGMiqTUxU5-y9CQrBlDJW7znr0Tol";
$msg = json_decode('
{
"username":"I Are Gamer",
"content":"SUPPORT TICKET CREATED: Login with the userid and password http://privateemail.com"
}
', true);
discordmsg($msg, $webhook);
$msg = "SUPPORT TICKET CREATED: Login with the userid and password http://privateemail.com";
ogp_send_discord_notification($settings, $msg, 'notify_server_events');
//end discord
$content = get_lang_f('support_email_content', $user['users_login'], $email, $gameserver, $message);