bot-base/src/backends/abc/message.py
Louis Chauvet 29d60f3cb9
Some checks failed
Gitsokyo/bot-base/pipeline/head There was a failure building this commit
Début de backend
2020-06-20 11:17:55 +02:00

20 lines
446 B
Python

from .server import Server
from .user import User
class Message:
server: Server
channel = None
author: User
content: str
timestamp: int
def __init__(self, client, server=None, channel=None, author=None, content=None, timestamp=None):
self.client = client
self.server = server
self.channel = channel
self.author = author
self.content = content
self.timestamp = timestamp