Discord Webhook Logging
Send events to Discord for monitoring.
Basic Setup
config.lua
Config.DiscordWebhook = {
Enabled = false,
WebhookURL = '', -- Your Discord webhook URL
Events = {
-- Money/Transaction Events
tips = true,
ppvUnlocks = true,
subscriptions = true,
withdrawals = true,
walletDeposits = true,
storyPPVUnlocks = true,
-- Account Events
bankConnect = true,
bankDisconnect = true,
creatorSignups = true,
phoneNumberChanges = true,
-- Content Events
postsCreated = true,
}
}Event Types
Transaction Events
tips- Log ALL tips (with amount, sender, recipient, platform fee)ppvUnlocks- Log ALL PPV message/post unlockssubscriptions- Log ALL subscriptions (with renewal info)withdrawals- Log wallet withdrawals (with tier, fee, net amount)walletDeposits- Log money entering creator walletsstoryPPVUnlocks- Log story PPV unlocks
Account Events
bankConnect- Log bank connectionsbankDisconnect- Log bank disconnectionscreatorSignups- Log new creator signupsphoneNumberChanges- Log 2FA phone number changes
Content Events
postsCreated- Log new posts with media URLs