mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 20:39:29 +02:00
16 lines
332 B
Python
16 lines
332 B
Python
from abc import ABC
|
|
|
|
|
|
class DiscordModelsBase(ABC):
|
|
|
|
def to_json(self):
|
|
"""A utility method which returns raw payload object as it was received from discord.
|
|
|
|
Returns
|
|
-------
|
|
dict
|
|
A dict representing raw payload object received from discord.
|
|
|
|
"""
|
|
return self._payload
|