yepcord / server

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

Replace with list of users subscribed to event #164

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

https://api.github.com/yepcord/server/blob/7e4a0de4c566dda4b496626f547b4722856a393d/src/rest_api/routes/guilds.py#L804


        raise InvalidDataErr(404, Errors.make(10070))

    await getCore().subscribeToScheduledEvent(user, event)
    await getGw().dispatch(ScheduledEventUserAddEvent(user.id, event_id, guild.id),
                           guild_id=guild.id)  # TODO: Replace with list of users subscribed to event

    return c_json({
        "guild_scheduled_event_id": str(event.id),