Notifications

Advanced notification system for Discord events and keyword monitoring.

The notification module watches Discord events and keywords, then reports what it sees to a webhook of your choice.

Configuration file

modules/notify.json

Notification types

Configure which events trigger notifications.

SettingDescriptionDefault
message_deleteLog deleted messages.false
message_editLog edited messages.false
friend_requestAlert on new friend requests.false
keyword_alertsAlert when specific keywords are mentioned.false

Keyword alerts

Get notified when specific words are mentioned in chat. The keywords array holds the words to monitor.

"keywords": [
  "your_name",
  "important_word"
]

Setting up keyword alerts

  1. Add keywords. Open modules/notify.json, add the words to the keywords array, save and restart the selfbot.
  2. Configure the webhook. Set your webhook URL in the config and enable keyword_alerts: true.

Message logger

Configure deleted and edited message logging. The embed below is the example for deleted messages.

{
  "embed": {
"title": "- Message Deleted"",
"color": "0x2b2d31"",
"footer": {
  "text": "Pashka | Message Logger"",
  "icon_url": "https://i.e-z.host/a8oyrvt5.png""
},
"fields": [
  {
    "name": "Content"",
    "value": "{content}\n[Message]({message_link})"",
    "inline": false
  },
  {
    "name": "Author"",
    "value": "[{author_name}](https://discordlookup.com/user/{author_id})"",
    "inline": true
  }
]
  }
}

Security notes

  • Keep your webhook URL private.
  • Be selective with keyword alerts to avoid spam.
  • Consider the privacy implications of message logging.