mirror of
https://github.com/MrSedan/neuro-reply-bot-reworked.git
synced 2026-01-15 05:59:43 +03:00
Added singleton config and changed module structure
This commit is contained in:
8
neuroapi/_methods/api_method.py
Normal file
8
neuroapi/_methods/api_method.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from ..config import Config
|
||||
|
||||
|
||||
class ApiMethod:
|
||||
api_url: str
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.api_url = Config().api_url
|
||||
Reference in New Issue
Block a user