yepcord / server

Unofficial discord backend implementation in python.
GNU Affero General Public License v3.0
2 stars 1 forks source link

generate json for discord #41

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://github.com/yepcord/server/blob/6370d282fd7c8acf9ba9183b4ebd07b6316a816f/server/model.py#L82


                    del json[field.name]
        return json

    async def discordJSON(self) -> dict:
        ... # TODO: generate json for discord

    def set(self, **kwargs):
        for k, v in kwargs.items():
            if k not in list(self.__dataclass_fields__):
github-actions[bot] commented 1 year ago

Closed in 60e51f01ec2915e4cd49b73d66b40c777f2d4a92