Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add base for osu irc bot #208

Merged

Conversation

tsunyoku
Copy link
Contributor

No description provided.

package.json Show resolved Hide resolved
IRCBot/index.ts Show resolved Hide resolved
@VINXIS VINXIS merged commit 52fcd8f into Corsace:tournament-registration Jun 17, 2023
@tsunyoku tsunyoku deleted the tournament-registration branch June 17, 2023 22:19
@tsunyoku tsunyoku restored the tournament-registration branch June 17, 2023 22:19
VINXIS added a commit that referenced this pull request Jul 2, 2023
* initial team model and stuff

* a few team endpoints, teams discordcmd, refresh token functionality

* update migration

* ok i made all the team endpoints

* npm run audit

* update migration

* mode ID filters for bws

* fix build

* discord commands and restructure db function locations

* rename save to upload

* test fixes

* more fixes and add public folder

* no support for gifs (yet)

* more fixes and also better image cropping

* more fixes, more discord cmds, create getTeamInvites

* change team ava url to explicit api url due to proxy

* ok 10 mb kinda ridiculous

* extra security (dont use discord ID lookup), more test fixes

* tournament registration cron

* cron fixes

* ease on cron queries

* fix missing inv accept check + rewrite for loop

* optimize discord invite q (and support actionRow limit)

* use r2 for team avatars

* feat: add base for osu irc bot (#208)

* feat: add base for osu irc bot

* fix: connection log typo

* style: simplify self-message check

* feat: add botAccount boolean

* style: whitespace

* feat: multiplayer commands, listen to channel message event

* style: remove unnecessary parentheses

* fix: placement of parentheses

* feat: reduce command handler duplication

* fix: whitespace

* fix: more whitespace

* Match Infrastructure (#207)

* initial match model creation

* initial match migration and models and routing

* pickban order(maporder) entity

* additional properties for match specs + update migration + change match name (sql reserved keyword)

* remove discriminators in discord + errors

* rename match to matchup everywhere

* matchup generator endpoint (remove stages)

* fix migration also add a first property

* npm run lintfix

* update readme for ircbot

* intiial cron setup

* add matchupGroup to models for qualis

* feat: require a qualifier date when a team registers for a tournament with a qualifier stage (#211)

* feat: require a qualifier date on team register if tourney has qualifiers, create matchup

* fix: wtf

* Auto-running Qualifiers (#213)

* renaming irc to bancho

* more bancho renaming

* some pool check fixes for create/publish

* Create match creation logic stuff

* model + migration fixes

* missing checks on slot map count

* finish initial setup for auto-running qualifier

* 🚑 ⬆️ Upgrade nodesu and bancho.js, fixing typings compilation (#214)

* import osu bot

* fixes to miscellaneous stuff + build

* finish qualis bot

* add missing leftjoin in register endpoint

* more refbot fixes

* change cron delay to 10 seconds

* more fixes and also actually make the timers matter

* check all players in lobby before running autostart

* final fixes before i lose my mind refactoring

* REFACTOR!!!!!

* poon fixes

* nicer log storage Yey

* fix matchup running in cron-runner instead of bancho (+ dupe bancho client instances)

* mod function fix

* wrote wrong publicurl name in docker-compose.json

* actually end match

* remove unnecessary saves keep matchup save for match end

* poon suggestion

* Bancho Message Storage (#215)

* matchupmessages model and migration

* add matchupmessage logic to ref bot

* testing

* batch save and clear timer on end

* date save

---------

Co-authored-by: Hugo Denizart <thepoon@osufr.live>

* update koa-session to circumvent koa-passport 6 issues rkusa/koa-passport#181

* fixes and refactors to osu apiv2

* add typing to badgefilter

* annoying build fixes and mode type

---------

Co-authored-by: James <tsunyoku@gmail.com>
Co-authored-by: Hugo Denizart <thepoon@osufr.live>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants