mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Add todo
This commit is contained in:
@@ -74,6 +74,8 @@ async def notify(notification_type: Literal["start"] | Literal["change_category"
|
|||||||
|
|
||||||
if (discord := integrations.discord) is not None:
|
if (discord := integrations.discord) is not None:
|
||||||
if discord.notifications_channel_id is not None:
|
if discord.notifications_channel_id is not None:
|
||||||
|
# TODO: Get roles from discord api
|
||||||
|
|
||||||
role_id = get_role_id(streamer_config, current_state.category)
|
role_id = get_role_id(streamer_config, current_state.category)
|
||||||
if role_id is not None:
|
if role_id is not None:
|
||||||
role = f"<@&{role_id}>"
|
role = f"<@&{role_id}>"
|
||||||
|
|||||||
Reference in New Issue
Block a user