๐ฎ Discord Game Jam Bot Documentation
Everything organizers and participants need to run a jam, form teams, and keep momentum inside Discord.
๐ฏ Overview
This Discord bot manages game jams, teams, and participants across Discord servers. Each team is associated
with a specific jam, and participant statuses are automatically managed based on team membership.
Discord first, companion optional:
Public jam dashboards can be viewed without signing in. Discord remains a complete way to run and
participate in a jam. Members who choose Discord OAuth can also join jams, edit participation, form and
manage teams, process requests, vote on member removal, andโwhen authorizedโadminister jams from the
companion dashboard. OAuth requests only your basic identity and server list.
Key Concepts:
- Jams: Time-bound events with automatic status management
- Teams: Always associated with a specific jam
- Participants: Users registered for jams with team status tracking
- Status Auto-Update: Participant status automatically reflects team membership
๐
Jam Management Commands
/createjam
Creates a new game jam with specified dates, times, and timezone.
/createjam name:<jam_name> startdate:<YYYY-MM-DD> start_time:<HH:MM>
end_date:<YYYY-MM-DD> end_time:<HH:MM> timezone:<UTCยฑXX:XX>
๐ Admin Only
Parameters:
name - Unique jam name for this server
startdate - Start date in YYYY-MM-DD format
start_time - Start time in 24-hour HH:MM format
end_date - End date in YYYY-MM-DD format
end_time - End time in 24-hour HH:MM format
timezone - Select from dropdown (UTC-12:00 to UTC+09:30)
Technical Details:
- Creates with default status "Upcoming"
- Status automatically updates every minute based on current time
- Converts all times to UTC timestamps for accurate global handling
- Prevents overlapping jams on the same server
- Allows updating existing jams by using the same name
/listjams
Lists jams in priority order: most recent ended, all active, all upcoming.
/listjams
Display Logic:
- ๐ Most recent ended jam (only one)
- ๐ฅ All currently active jams
- โณ All upcoming jams
Note: Shows dates/times in the original timezone specified when the jam was created.
๐ค Participant Commands
/joinjam
Registers you as a participant in a specific jam with roles and initial team status.
/joinjam jam_name:<select_jam> roles:<comma_separated> status:<Solo/Looking>
portfolio:<optional_link>
Parameters:
jam_name - Select from available jams (autocomplete)
roles - Comma-separated roles (e.g., "Programmer, 3D Artist, Composer")
status - Solo or Looking (In a Team is derived automatically)
portfolio - Optional portfolio link
Updates: Can be used multiple times to update your registration for the same jam.
/leavejam
Removes you from a jam and automatically cleans up any empty teams.
/leavejam jam_name:<select_jam>
Automatic Cleanup: If you were the last member of any teams, those teams will be
automatically deleted.
/updatestatus
Manually update your team status for a specific jam.
/updatestatus jam_name:<select_jam> status:<Solo/Looking>
Smart Validation:
- Warns if you set "In a Team" but aren't on any teams
- Warns if you set "Solo/Looking" but are actually on teams
- Shows current team memberships in response
/listparticipants
Lists participants in a jam filtered by team status.
/listparticipants jam_name:<select_jam> status:<All/Solo/Looking/In_a_Team>
Status Filter Options:
All - Shows grouped by status with counts
Solo - Only solo participants
Looking - Only those looking for teams
In a Team - Only team members
๐ฅ Team Management Commands
/createteam
Creates a new team for a specific jam and automatically adds you as a member.
/createteam jam_name:<select_jam> team_name:<team_name>
Requirements:
- Must be registered for the selected jam
- Team name must be unique within that jam
Automatic Actions:
- Adds you as active team member
- Updates your status to "In a Team"
- Associates team with the selected jam
/jointeam
Sends a join request to an existing team. Requires approval from current team members.
/jointeam team_name:<select_team>
Approval System:
- Creates pending request that expires in 48 hours
- Any current team member can approve using
/approverequest
- Shows team member names to contact for approval
- Prevents duplicate requests
/leaveteam
Removes you from a specific team with automatic cleanup.
/leaveteam team_name:<select_from_your_teams>
Automatic Status Update: Your participant status updates based on remaining team
memberships (stays "In a Team" if on other teams, changes to "Looking" if no teams left).
Team Cleanup: If you're the last member, the team is automatically deleted.
/approverequest
Approve pending join requests for teams you're on.
/approverequest request:<select_pending_request>
Requirements:
- Must be an active member of the team
- Request must still be pending (not expired)
Automatic Actions:
- Adds user to team as active member
- Updates their status to "In a Team"
- Sends DM notification to approved user
/listteams
Lists all teams for a specific jam with their active members.
/listteams jam_name:<select_jam>
Shows:
- Team names for the selected jam
- Active members of each team
- Total team count for that jam
/myteam
Shows all teams you're currently on with member details and roles.
/myteam
Displays:
- Team names you're actively on
- All team members and their roles
- Works across all jams you're registered for
๐ Admin Commands
/startjam
Manually starts a jam, overriding automatic timing.
/startjam jam_name:<select_jam>
๐ Admin Only
Override System:
- Sets both status and override_status to "Active"
- Shows warning if starting early/late
- Jam stays active until manually ended or override cleared
- Prevents automatic status changes while override is active
/endjam
Manually ends a jam, overriding automatic timing.
/endjam jam_name:<select_jam>
๐ Admin Only
Override System: Same override behavior as startjam - sets override_status to "Ended"
and prevents automatic changes.
/clearoverride
Removes manual override and restores automatic status based on current time.
/clearoverride jam_name:<select_jam>
๐ Admin Only
Smart Restoration:
- Calculates correct status based on current time vs jam schedule
- Shows status change if different from overridden status
- Resumes automatic status updates every minute
/renamejam
Renames an existing jam.
/renamejam jam_name:<select_jam> new_name:<new_name>
๐ Admin Only
Validation: Ensures new name doesn't conflict with existing jams on the server.
/renameteam
Renames an existing team.
/renameteam team:<select_team/jam> new_name:<new_name>
๐ Admin Only
Validation: Ensures new name doesn't conflict with existing teams in the same jam.
/deleteteam
Deletes a team and notifies all members via DM.
/deleteteam team:<select_team/jam>
๐ Admin Only
Destructive Action:
- Removes all team members (active and pending)
- Updates member statuses based on remaining teams
- Sends DM notifications to affected users
- Cannot be undone
โจ Complete Command Reference
The following focused commands complete the workflows described above:
/updateroles โ update your comma-separated roles for a jam.
/openteam / /closeteam โ allow or pause new join requests.
/approverequest / /rejectrequest โ decide a pending request as a
team member or administrator.
/cancelrequest โ withdraw one of your own pending requests.
/kickfromteam โ start a 24-hour removal vote. Teams need at least three active
members, and a majority of members other than the selected participant must approve.
/announce โ post an admin-authored jam announcement and Discord signup button.
/deletejam โ permanently remove a jam and all associated participation and team
data. Admin only.
Discord currently supports far more than 25 top-level chat-input commands. The 25-item limit applies
to options, choices, and autocomplete results; autocomplete is filtered and capped accordingly.
Ended jams are read-only: participation, team, request, and vote mutations are rejected
after a jam ends. Administrators may still inspect or delete archived data and manage explicit jam status
overrides.
๐ ๏ธ Utility Commands
/jamsite
Gets the web URL for this server's jam site.
/jamsite
Returns: https://gamejamorganizer.nomadicrealms.net/app/?server=<server_id>
โ๏ธ Technical Details
๐ Automatic Systems
Status Updates (Every Minute):
- Jams without overrides automatically transition between Upcoming โ Active โ Ended
- Based on current time vs start/end timestamps
- Only affects jams without manual overrides
Request Cleanup (Every 10 Minutes):
- Removes pending team join requests older than 48 hours
- Prevents database bloat from expired requests
- Logs cleanup actions for monitoring
Team Status Synchronization:
- Creating/joining teams โ Status becomes "In a Team"
- Leaving teams โ Status updates based on remaining memberships
- Team deletion โ All affected users get status updates
/updatestatus selects Solo or Looking; team membership remains authoritative
๐๏ธ Data Structure
Key Relationships:
- Jams: Server-scoped with timezone-aware timestamps
- Participants: Link users to specific jams with roles and status
- Teams: Always associated with a specific jam via jam_id
- Team Participants: Links participants to teams with status (active/pending)
๐ Permission System
Admin Commands: Require the Game Jam Admin role, Discord Administrator permission, or server ownership
- All jam management (create, start, end, rename)
- Team administration (rename, delete)
- Override management
User Commands: Available to all server members
- Jam participation
- Team creation and membership
- Status management
- Information lookup
๐จ Error Handling
Comprehensive Logging:
- All commands log entry, success, and failure states
- Automatic system actions are logged with context
- Error details captured for troubleshooting
- User actions include Discord username and IDs
Graceful Degradation:
- DM failures don't prevent command completion
- Individual team member lookup failures don't break team lists
- Database errors provide user-friendly messages
- Partial operations complete what they can