# discord-keyword-alerts
A Discord bot to alert members with a role when certain keywords are matched.
This bot mentions a specified role whenever a keyword match is found. The bot only works for embed messages and not normal user messages, as it's main purpose is to support Discord based cook groups.
### Usage:
Keyword matches are determined based on a specified list of keywords and negative keywords. If any of the negative keywords match, the message will be ignored. You can set up your keywords in "keywords.txt" and negative keywords in "negatives.txt". If you want to use multiple words (i.e. define a keyword set), separate words with '+' in between (ex. air+jordan+1).
You must create a Discord bot and get its token, which should be put in "token.txt". A full guide on how to do this, with images, can be found [here](https://github.com/Chikachi/DiscordIntegration/wiki/How-to-get-a-token-and-channel-ID-for-Discord).
You must set up which channels you want to monitor for the keywords. List them 1 per line (example included in the .txt file).
Lastly, you must define which role to mention when a keyword match is detected. You can do this by simply entering the role you want to mention in "role.txt".
All settings can be changed on the fly so you don't have to restart the script if you want to change something.
### Screenshot:
![NERYS Example](https://i.gyazo.com/4a08077d54abfc90326f7639695955b6.png)
没有合适的资源?快使用搜索试试~ 我知道了~
一个Discord机器人,用于在匹配某些关键字时提醒.zip
共10个文件
txt:5个
py:2个
gitignore:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 130 浏览量
2023-04-05
13:09:54
上传
评论
收藏 5KB ZIP 举报
温馨提示
一个Discord机器人,用于在匹配某些关键字时提醒.zip
资源推荐
资源详情
资源评论
收起资源包目录
一个Discord机器人,用于在匹配某些关键字时提醒.zip (10个子文件)
discord-keyword-alerts-master
main.py 3KB
LICENSE 1KB
negatives.txt 22B
token.txt 23B
keywords.txt 28B
role.txt 10B
log.py 343B
channels.txt 51B
.gitignore 1KB
README.md 1KB
共 10 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功