Attendance
Recording who actually turned up.
Module: activity. Off until a server admin runs /moduleadmin enable module: Attendance records guild_id: <this server's ID>.
Needs the same hoster role as events (event_hoster_role). If you can
host an event in this server, you can log a chart for it. Server administrators
(the Discord Administrator permission) always can.
Logging attendance
/activitychart create
| Box | What to put in it |
|---|---|
| event | Pick the event from the dropdown |
| host | Who actually ran it (defaults to you) |
| image1, image2 | Screenshots as proof |
Then the bot shows you a draft with five buttons: Edit Attendees, Edit Recruited, Edit Notes, Post and Cancel. Add the attendee list: paste mentions, IDs or names, up to 100 people. Edit Recruited takes the same kind of list, and the notes hold up to 500 characters. Check the draft and press Post.
Drafts expire after 15 minutes. If yours does, start again, or use
/activitychart resume before it goes.
You have to pick the event
The event box is a dropdown of real events your server has hosted. Pick from
it. Don't type something else in.
There's also event_freetext for typing a description by hand, but the bot
refuses it if your server has ever hosted an event through the bot. That's
deliberate:
A record that doesn't say which event it's for can't be joined to anything: not the announcement, not the calendar, and not the playtime the game reports. It becomes a screenshot in a channel that nobody can ever cross-reference.
event_freetext exists for one case: logging something that was never hosted
through the bot at all. In a server that has hosted events, that case doesn't
come up, so it's refused there.
What happens after you post
- The chart goes in the attendance channel.
- If the event was published to the website, the turnout is added to it, so the calendar shows what happened rather than only what was planned.
- The host, whoever logged the chart, anyone with the hoster role, and server administrators can edit a posted chart afterwards with its Edit button. The staff role doesn't count.
- Two people can open Edit on the same chart at once. Each keeps their own pending changes, and Save is logged under whoever pressed it. When one saves, the other is asked to open Edit again, so an older copy can't undo the save. A pending edit nobody has touched for 15 minutes is dropped.
Admin setup
/config set key: activity_chart_channel value: #where-charts-get-posted
/config set key: activity_chart_storage_channel value: #image-storage (private is fine)
The storage channel re-hosts proof images so their links don't expire when Discord's CDN cycles them out. Without it, image uploads fail with a warning but the chart still gets created, just without that proof image.
It's not working
When you are stuck
"This server has hosted events, so a chart has to say which one it is for."
Working as intended. Pick the event from the dropdown instead of typing a description. The message lists your five most recent events.
"`whatever` is not an event in this server."
You typed into the event box instead of picking from the dropdown. Clear it and let the suggestions appear.
"Add at least one attendee before posting."
The attendee list is empty. Add names first.
"You have an active draft."
You already started one. /activitychart resume picks it up, or wait for it to expire.
"`activity_chart_channel` is not configured."
Admin job. Run /config set activity_chart_channel.
The screenshots didn't attach
Attach them when you run the command, not afterwards. If one fails the bot tells you which and still makes the draft.