-
Notifications
You must be signed in to change notification settings - Fork 0
Bot folder
🤖
It contains a simple Discord Bot. The header comment should be enough exhaustive, but let's add some images.
Open your server and go to Server Settings > Integrations > Webhooks
:
In my case, I called the bot as the famous musician John Bon Jovi
Press on Copy Webhook URL
and create the file arduino_secrets.h
as follow:
// 1. Webhook URL without the starting 'https://discordapp.com'
#define SECRET_WEBHOOK "/api/webhooks/..." // replace all the content between the quotes
// 2. enable ("true") or disable ("false") text on speech
#define SECRET_TTS "true"
// 3. WiFi name of the network the Arduino MKR have to connect to surf the Internet
#define WIFI_SSID "" // inside the quotes
// 4. WiFi password of the network the Arduino MKR have to connect to surf the Internet
#define WIFI_PWD "" // inside the quotes
cd bot/Telegram/UniversalTelegramBot/echo_bot/
Telegram bot which replies to all the text message you send to him.
cd bot/Telegram/UniversalTelegramBot/LED_on_off_bot
Switch ON or OFF the built-in LED of the board.
cd bot/Telegram/UniversalTelegramBot/reply_keyboard_markup
Use the Telegram's keyboard markup to communicate with the bot.
cd bot/Telegram/UniversalTelegramBot/send_logo_photo_from_URL
The bot uses an HTTP
connection to send a logo from those list:
- Arduino
- Raspberry PI
Arduino MKR WiFi 1010 is proudly made by PitPietro