Changelog

Updates to the bot as the versions progress

All Releases | All Tags

v0.1.x

Latest

Under the Hood Changes

  • Update C4T knowledge base links

New Commands

  • linkedin

  • docs

  • onboard

  • bylaws

  • edocs

  • Add all team meeting reminders

  • Fix setup for Volunteer Management

  • Add setup done command

Release: Fall Classes 2020 Bot

Enoch Bot is now being used live on C4T servers! 🎉

New Commands

  • #13

    • classinfo <code> - sends information about a class (e.g. course, times, days, meeting links) if the user has that class role or is an administrator

    • directory - sends a link to the C4T directory

  • #15

    • setup member <dept> - sets up a C4T member on the Code 4 Tomorrow server by adding their primary department role

    • setup addproj <project> - adds a project role to a user

Major Under the Hood Changes

  • Add GitBook docs under ./docs/

  • Hardcode class data

  • 123394e Add Enoch Dev Bot functionality to let developers run experimental Enoch commands while the original Enoch bot works

  • 8755df7 Update name of the Enoch test server to Enoch Developers

  • #14 Merge check_unverified and kick_unverified into single, generalized handle_unverified function

  • Rename references to "subteam" to "member" to accommodate new organizational model

Fixes

  • b45fea8 Fix error message when setup teacher used in the wrong server

  • e197177 Fix unverified job times (accidentally switched 12 AM and 12 PM PT)

  • 2b0306b Fix setup name capitalization bug where hyphenated names weren't capitalized properly

TODOs

v0.0.x

Pre-release: Setup Subcommands

Bot Updates

  • Added checks to commands to restrict their access to trusted parties #3

    • slap command was removed

  • Added setup subcommands #5

    • diagnose command works now and has expanded functionality

    • New course command for setting up teachers on C4T Teachers server

    • New setup name command for changing nickname during server setup

    • help command now shows subcommands

Under the Hood

  • Update function/command docstrings

  • Stopped using JSON files because of flake8 warnings when using * import (see also: #2 )

  • Hardcoded class/student/teacher/parent data because there wasn't enough time to learn the Google Sheets API before classes began #4

  • GitHub workflows now only trigger on pull requests because having PRs and push triggers is redundant #5

  • Fix multi-line string concatenation #5

  • Fix style

  • Use black and flake8 workflows

  • Add welcome instructions scheduler jobs

  • Refactor C4T info variables

  • Organize directory structure

Pre-release: Enoch is *actually* (hopefully) working now

Major feature changes

  • Fixed setup command so that the bot doesn't need to be restarted/readded

    • setup command will now remove the Unverified role from the user if they completed 100% of the setup

    • setup command will now also send a user a "Setup Complete!" DM if they completed 100% of the setup (no errors)

    • setup command will now send a user a DM for each class they specified in the command, which contains class info (basically the attributes of each Class object)

  • Added on_member_join event so that custom C4T welcome DM is sent to a user who just joined the server

Major under the hood changes

  • Added Class class to make retrieving class info easier

  • Started breaking up the setup function into helper functions to reduce complexity

  • Started using .json files for links and class info instead of .py files

  • Separated the Default cog into 2 cogs: Links and Utility

  • Finish tutorial part 14 - custom help command, add basic C4T setup functionality

Pre-release: Enoch bot is actually working now

  • Added an enoch (hidden) command to the Fun cog

  • Added a "Playing Game" status for the bot to display the help command

Pre-release: Enoch Bot Beta

  • Enoch bot is here! See features in #1.

  • Finish tutorial Part 11 - command specific error handling

  • Finish tutorial Part 10 - introduction to commands

  • Finish tutorial Part 9 - introduction to cogs

  • Finish tutorial Part 8 - scheduling tasks

  • Finish tutorial Part 7 - handling errors

  • Finish tutorial Part 6 - sending messages, embeds

  • Finish tutorial Part 5 - making the bot run

Last updated