Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
32b4f68
Add UserEvents cog for managing/scheduling user events.
RohanJnr Nov 2, 2020
b0e0753
Add methods for various statuses
RohanJnr Nov 4, 2020
6a40986
Add method to check if user is event organizer.
RohanJnr Nov 4, 2020
a0515ff
Add method to modify event description.
RohanJnr Nov 4, 2020
5a6cd83
Code cleanup, and renaming functions.
RohanJnr Nov 4, 2020
0991043
fix bug: coroutine was never awaited.
RohanJnr Nov 4, 2020
4591781
More checks to error handler and fix bugs.
RohanJnr Nov 5, 2020
4f57675
Replace command checks with a single cog check.
RohanJnr Nov 5, 2020
87ed463
Improve docs, bot responses and code.
RohanJnr Nov 5, 2020
26d4635
Merge branch 'master' into user_events_management
RohanJnr Nov 5, 2020
a5efff0
Move channel check to cog_check() method.
RohanJnr Nov 5, 2020
4aaae7e
Remove embed footer config done in user_event_embed() method and clea…
RohanJnr Nov 5, 2020
d815215
Update config and constants to house required role and channel IDs.
RohanJnr Nov 6, 2020
867c554
Improve event scheduled message.
RohanJnr Nov 6, 2020
375e8ae
Add comments for better code clarity.
RohanJnr Nov 6, 2020
2158228
Add bot responses after command execution.
RohanJnr Nov 6, 2020
73174ad
Simplify code.
RohanJnr Nov 6, 2020
8b6b6a3
Add user_event_list and user_event_coordinators channel ID to config.
RohanJnr Nov 6, 2020
77e09c0
Remove subscription syncing functionality with the site.
RohanJnr Nov 6, 2020
008b615
Remove `user event: ongoing` role when the !userevent cancel cmd is u…
RohanJnr Nov 6, 2020
1e5e6ce
Look for specifically for check_mark reaction while fetching subscrib…
RohanJnr Nov 7, 2020
e837d7b
Use constants for Not scheduled and Live statuses.
RohanJnr Nov 7, 2020
5cd39cc
Use decorator instead of function to check if user is event organizer.
RohanJnr Nov 7, 2020
ec45fcf
Remove redundant status methods.
RohanJnr Nov 21, 2020
f06c52c
Normalize usage of update_user_event_message() method.
RohanJnr Nov 21, 2020
e188518
Merge branch 'master' of https://github.com/python-discord/bot into u…
RohanJnr Nov 22, 2020
9829c87
Load discord guild, channel and role objects in __init__() method.
RohanJnr Nov 23, 2020
4ba3fc1
Fix lint errors.
RohanJnr Nov 23, 2020
6137d45
Merge branch 'master' into user_events_management
RohanJnr Dec 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,10 @@ class Channels(metaclass=YAMLGetter):
staff_voice: int
staff_voice_chat: int
talent_pool: int
user_event_list: int
user_event_announcements: int
user_event_coordinators: int
user_event_voice: int
user_log: int
verification: int
voice_chat: int
Expand Down Expand Up @@ -471,6 +474,8 @@ class Roles(metaclass=YAMLGetter):
python_community: int
sprinters: int
team_leaders: int
user_event_coordinator: int
user_event_ongoing: int
unverified: int
verified: int # This is the Developers role on PyDis, here named verified for readability reasons.
voice_verified: int
Expand Down
Loading