{"id":20805725,"url":"https://github.com/danbugs/msv-discord-bot","last_synced_at":"2026-03-02T14:39:42.951Z","repository":{"id":257968111,"uuid":"873212261","full_name":"danbugs/msv-discord-bot","owner":"danbugs","description":"A Discord bot that automates the management for Microspacing Vancouver (MSV) events.","archived":false,"fork":false,"pushed_at":"2025-03-19T00:07:01.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T03:38:47.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danbugs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-15T19:32:38.000Z","updated_at":"2025-03-19T00:07:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b33c48d-9a00-4905-a5e1-99377530cdfb","html_url":"https://github.com/danbugs/msv-discord-bot","commit_stats":null,"previous_names":["danbugs/msv-discord-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fmsv-discord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fmsv-discord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fmsv-discord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danbugs%2Fmsv-discord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danbugs","download_url":"https://codeload.github.com/danbugs/msv-discord-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248115012,"owners_count":21050154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T19:16:06.042Z","updated_at":"2025-11-08T01:02:54.533Z","avatar_url":"https://github.com/danbugs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Microspacing Vancouver Discord Bot\n\n\u003e Note: This project was developed during Microsoft Vancouver's 2024 Hackathon!\n\nA Discord bot that automates the management of Microspacing Vancouver (MSV) events.\n\n## Commands\n\n- **`!set_current_event \u003curl\u003e`** (must be admin)\n  - **Description**: Sets the current event Start.gg URL that the bot will monitor.\n  - **Usage**: `!set_current_event https://www.start.gg/tournament/microspacing-vancouver-77/event/ultimate-singles`\n\n- **`!set_attendee_cap \u003cnumber\u003e`** (must be admin)\n  - **Description**: Sets the maximum number of entrants for the current event (default: 32).\n  - **Usage**: `!set_attendee_cap 40`\n\n- **`!check_current_event`**\n  - **Description**: Displays the current event details, including URL, attendee cap, and whether the bot’s operations are currently canceled.\n  - **Usage**: `!check_current_event`\n\n- **`!cancel_run`** (must be admin)\n  - **Description**: Cancels the bot's operations until resumed.\n  - **Usage**: `!cancel_run`\n\n- **`!set_reg_time`** (must be admin)\n  - **Description**: Sets the time for the weekly announcement. The default is set to *;30 AM on Wednesdays.\n  - **Usage**: `!set_reg_time wed_8_30` (for Wednesday, 8:30 AM)\n\n- **`!do_pre_tournament_setup`** (must be admin)\n  - **Description**: Performs the pre-tournament setup, including:\n    - Locking the previous waitlist post.\n    - Creating necessary threads (pri. reg., top 8, dropping out, etc.)\n  - **Usage**: `!do_pre_tournament_setup`\n\n- **`!quote`**\n  - **Description**: Displays a random quote from a public channel in the server.\n    - **Usage**: `!quote`\n\n- **`!thanks`**\n  - **Description**: Displays a random \"You're welcome!\"-like message.\n    - **Usage**: `!thanks`\n\n- **`!test`** (must be admin)\n  - **Description**: Simulates the bot's functionality for testing purposes:\n    - Locks the previous waitlist post (if any).\n    - Posts the announcement to a test channel.\n    - Creates a waitlist thread in a test channel.\n  - **Usage**: `!test`\n\n- **`!roll_dice`**\n  - **Description**: Rolls a random number between 1 and 6.\n  - **Usage**: `!roll_dice`\n\n- **`!who_is_da_goat`**\n  - **Description**: Picks a random member from the server and declares them the \"Greatest of All Time\" (GOAT).\n  - **Usage**: `!who_is_the_goat`\n\n- **`!batch`** (must be admin)\n  - **Description**: Batch a bunch of commands together to be executed serially and stop if any fail.\n  - **Usage**:\n  ```\n  !batch {\n  !check_current_event\n  !set_current_event https://www.start.gg/tournament/macrospacing-vancouver-5-battle-of-bc-7-monday-pre-local/event/ultimate-singles\n\n  !set_attendee_cap 64\n  !set_reg_time wed_8_30\n\n  !check_current_event\n  }\n  ```\n  \n- **`!yes_or_no`**\n  - **Description**: Randomly responds with \"yes\" or \"no\".\n  - **Usage**: `!yes_or_no`\n\n## Other Features\n\n- **Weekly Announcements**: Posts a detailed registration announcement in a dedicated channel when scheduled.\n- **Random posts**: Randomly posts pre-determined messages in general.\n\n## Note on Tokens and Deployment\n\nThe Start.gg token this bot uses (i.e., `waitlist-bot` in the Dantotto profile) was created around October 2024. The token should be updated around August 2025 at the latest by changing the `.env` file in the deployed Ubuntu server and re-running PM2 with the following command:\n\n```bash\npm2 restart \u003csome num\u003e --update-env\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanbugs%2Fmsv-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanbugs%2Fmsv-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanbugs%2Fmsv-discord-bot/lists"}