Skip to content

Commit 3db1786

Browse files
Add note about committee check
1 parent c7311de commit 3db1786

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cogs/committee_actions_tracking.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ async def update_status(
301301
302302
Takes in an action object and a Status string,
303303
sets the status of the provided action to be the provided status.
304+
Committee role check is not present because non-committee can have actions
305+
and must be able to update their own action status.
304306
"""
305307
try:
306308
action_id_int: int = int(action_id)
@@ -584,6 +586,9 @@ async def list_user_actions(
584586
Definition and callback of the "/list" command.
585587
586588
Takes in a user and lists out their current actions.
589+
If no user is specified, the user issuing the command will be used.
590+
If a user has the committee role, they can list actions for other users.
591+
If a user does not have the committee role, they can only list their own actions.
587592
"""
588593
committee_role: discord.Role = await self.bot.committee_role
589594

0 commit comments

Comments
 (0)