A discord bot which send an e-mail when a message was sent on a specific channel.
Expect for standard modules,we need
- Discord.py
- python-dotenv
name | content |
---|---|
sender-adress | sender's email adress(ex. [email protected]) |
sender-pw | sender's email pw |
distination | distination email adress.you can use comma like "[email protected],[email protected]". |
token | token of your discord-bot. |
line | content |
---|---|
21 | the mail-provider's smtp-server adress and its port here. |
34 | bot will send an email when a message was sent on the channel which was mentionned here. |
35 | you can set the email's subject here. |