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.jsonNotification types
Configure which events trigger notifications.
| Setting | Description | Default |
|---|---|---|
| message_delete | Log deleted messages. | false |
| message_edit | Log edited messages. | false |
| friend_request | Alert on new friend requests. | false |
| keyword_alerts | Alert 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
- Add keywords. Open
modules/notify.json, add the words to thekeywordsarray, save and restart the selfbot. - 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.