File tree 2 files changed +16
-10
lines changed
2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1
1
# telegram
2
- TELEGRAM_TOKEN = " "
2
+ TELEGRAM_TOKEN = " "
3
3
4
4
# openweather
5
- OPENWEATHER_API_KEY = " "
5
+ OPENWEATHER_API_KEY = " "
6
6
7
7
# spotify
8
- SPOTIFY_CLIENT_ID = " "
9
- SPOTIFY_SECRET = " "
8
+ SPOTIFY_CLIENT_ID = " "
9
+ SPOTIFY_SECRET = " "
10
10
11
11
# twitch
12
- TWITCH_CLIENT_ID = " "
13
- TWITCH_SECRET = " "
12
+ TWITCH_CLIENT_ID = " "
13
+ TWITCH_SECRET = " "
14
14
15
15
# google
16
- GOOGLE_API_KEY = " "
16
+ GOOGLE_API_KEY = " "
17
+
18
+ # mastodon
19
+ MASTODON_HOST = " https://masto.ai"
20
+ MASTODON_API_TOKEN = " "
Original file line number Diff line number Diff line change @@ -420,16 +420,18 @@ Answer will be parsed from Wikimedia article (suddenly not the best quality)
420
420
421
421
## Mastodon Plugin
422
422
423
- Mastodon plugin for Joker
424
-
425
- Enable live translation of updates from Mastodon on your Telegram channel by typing:
423
+ Enable live translation of updates from Mastodon to your Telegram channel by typing:
426
424
427
425
!mastodon abcd (abcd is a message you want to search in the updates)
428
426
429
427
To disable translation, type:
430
428
431
429
!mastodon off
432
430
431
+ To start plugin, you need an account in Mastodon. Add hostname and API token to the .env file:
432
+ - ` MASTODON_HOST ` host where you registered your account, for example "https://masto.ai "
433
+ - ` MASTODON_API_TOKEN ` your API token
434
+
433
435
## Meme Plugin
434
436
435
437
Create meme with [ Memegen.link] ( https://memegen.link/ ) project.
You can’t perform that action at this time.
0 commit comments