Mastodon/DeltaChat bridge.
Project description
A Mastodon <-> DeltaChat bridge plugin for SimpleBot.
If this plugin has collisions with commands from other plugins in your bot, you can set a command prefix like /masto_ for all commands:
simplebot -a bot@example.com db -s simplebot_mastodon/cmd_prefix masto_
Install
To install run:
pip install simplebot-mastodon
User Guide
To log in with OAuth, send a message to the bot:
/login mastodon.social
replace “mastodon.social” with your instance, the bot will reply with an URL that you should open to grant access to your account, copy the code you will receive and send it to the bot.
To log in with your user and password directly(not recommended):
/login mastodon.social me@example.com myPassw0rd
Once you log in, A “Home” and “Notifications” chats will appear, in the Home chat you will receive your Home timeline and any message you send there will be published on Mastodon. In the Notifications chat you will receive all the notifications for your account.
If someone sends you a direct message in a private 1:1 conversation, it will be shown as a new chat where you can chat in private with that person, to start a private chat with some Mastodon user, send:
/dm friend@example.com
and the chat with “friend@example.com” will pop up.
To logout from your account:
/logout
For more info and all the available commands(follow, block, mute, etc), send this message to the bot:
/help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file simplebot_mastodon-0.5.0.tar.gz
.
File metadata
- Download URL: simplebot_mastodon-0.5.0.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4298972d231937215943f055e4ae58934f3e12f4ccc84d09f0c4a908d4071dab |
|
MD5 | 71408acb9cbc8910c8bb0c2c1ea2fcdc |
|
BLAKE2b-256 | dcaccd501d33fc8eb23a08a6fa0818feff61b66f6141b9643c1eaf9d54d4528d |
File details
Details for the file simplebot_mastodon-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: simplebot_mastodon-0.5.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faa60d7abb114edb145178a45c3f8aedf801821ed81ed2c24d5b5dc470e5aba7 |
|
MD5 | 332016c78a691bbc055e8d91924f7da9 |
|
BLAKE2b-256 | 2f81d8f8cff0a75a9d5ea46da0372f4fc9f5f2a60bf6075263a4eb37fc014cfb |