Skip to content

Commit

Permalink
Mastodon plugin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
miamibc committed Dec 12, 2022
1 parent 491ca81 commit 51b6847
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
18 changes: 11 additions & 7 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# telegram
TELEGRAM_TOKEN = ""
TELEGRAM_TOKEN=""

# openweather
OPENWEATHER_API_KEY = ""
OPENWEATHER_API_KEY=""

# spotify
SPOTIFY_CLIENT_ID = ""
SPOTIFY_SECRET = ""
SPOTIFY_CLIENT_ID=""
SPOTIFY_SECRET=""

# twitch
TWITCH_CLIENT_ID = ""
TWITCH_SECRET = ""
TWITCH_CLIENT_ID=""
TWITCH_SECRET=""

#google
GOOGLE_API_KEY = ""
GOOGLE_API_KEY=""

# mastodon
MASTODON_HOST="https://masto.ai"
MASTODON_API_TOKEN=""
8 changes: 5 additions & 3 deletions src/Plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,16 +420,18 @@ Answer will be parsed from Wikimedia article (suddenly not the best quality)

## Mastodon Plugin

Mastodon plugin for Joker

Enable live translation of updates from Mastodon on your Telegram channel by typing:
Enable live translation of updates from Mastodon to your Telegram channel by typing:

!mastodon abcd (abcd is a message you want to search in the updates)

To disable translation, type:

!mastodon off

To start plugin, you need an account in Mastodon. Add hostname and API token to the .env file:
- `MASTODON_HOST` host where you registered your account, for example "https://masto.ai"
- `MASTODON_API_TOKEN` your API token

## Meme Plugin

Create meme with [Memegen.link](https://memegen.link/) project.
Expand Down

0 comments on commit 51b6847

Please sign in to comment.