T
T
TheLeafSky2020-01-30 15:43:53
Parsing
TheLeafSky, 2020-01-30 15:43:53

How to write a bot to receive codes from the mail?

Hello, I need to write a bot to receive codes from the mail and send the code to the discord channel. Where is there any pointers to this

Answer the question

In order to leave comments, you need to log in

2 answer(s)
1
1keda, 2020-01-30
@1keda

Receiving codes from mail - a library for receiving letters from mail. Parsing - depends on the language.
Sending to the channel, there are three options:
1) Webhook, the simplest.
2) Through a bot. It is necessary to read letters in the same process as the bot. Otherwise, a fierce hemorrhagic.
In python - BS4, discord.py, read mail with standard libraries, tutorial: codehandbook.org (clickable) .

N
Nadim Zakirov, 2020-01-30
@zkrvndm

All this can be done with a banal user script in the browser, but you need to know JavaScript. My answer to your question is how: learn js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question