1
0
Fork 0

Changed folder name +TODO

This commit is contained in:
Casey 2022-08-24 08:28:18 +03:00
parent 99e982786c
commit a8b413a632
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
8 changed files with 14 additions and 8 deletions

6
TODO Normal file
View File

@ -0,0 +1,6 @@
[integrations,core] Add database support so remote messages are stored and can be used to reply to them
[integrations,discord] Add Discord functionality
[core] Somehow find a way to get your user ID by token
[core] Maybe get rid of `main.list` field and create one automatically on a startup?
[integrations] Add support for shellscript integration
[integrations,telegram] Add formatting option

View File

@ -2,11 +2,11 @@
from asyncio import run
from configparser import ConfigParser
from mastoreposter.integrations.telegram import TelegramIntegration
from mastoreposter.sources import websocket_source
from mastoposter.integrations.telegram import TelegramIntegration
from mastoposter.sources import websocket_source
from typing import AsyncGenerator, Callable, List
from mastoreposter.integrations.base import BaseIntegration
from mastoreposter.types import Status
from mastoposter.integrations.base import BaseIntegration
from mastoposter.types import Status
async def listen(

View File

@ -1,6 +1,6 @@
from abc import ABC, abstractmethod
from mastoreposter.types import Status
from mastoposter.types import Status
class BaseIntegration(ABC):

View File

@ -3,8 +3,8 @@ from html import escape
from typing import Any, List, Mapping, Optional, Union
from bs4 import BeautifulSoup, Tag, PageElement
from httpx import AsyncClient
from mastoreposter.integrations.base import BaseIntegration
from mastoreposter.types import Attachment, Status
from mastoposter.integrations.base import BaseIntegration
from mastoposter.types import Attachment, Status
@dataclass

View File

@ -3,7 +3,7 @@ from typing import AsyncGenerator
from urllib.parse import urlencode
from mastoreposter.types import Status
from mastoposter.types import Status
async def websocket_source(url: str, **params) -> AsyncGenerator[Status, None]: