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

Re-enabling Trivia and small fixes #683

Merged
merged 40 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
2fbf957
many changes
Hipperooni May 22, 2023
04e7888
Team Mindset Roles BETA
Hipperooni May 23, 2023
373913b
Update tents to use new voice category
Hipperooni May 23, 2023
5a316ef
I forgot 2 roles
Hipperooni May 23, 2023
fc96abb
Important Fixes
Hipperooni May 24, 2023
ee2d78e
Add "Busy" role to TTS mindsets
Hipperooni May 25, 2023
0afd136
Update futon ID
Hipperooni May 25, 2023
89ac409
Change how deleting tents works
Hipperooni May 25, 2023
6d93cd4
Add bot typing status to announcements
Hipperooni May 25, 2023
1bcac5d
Fix TTS access to donor colours
Hipperooni May 26, 2023
a4615fc
Make typing status 3 seconds
Hipperooni May 26, 2023
ab193ac
Small fixes / updates
Hipperooni May 29, 2023
4c83aa4
Merge main
LunaUrsa May 29, 2023
626a0a6
Merge and lint
LunaUrsa May 29, 2023
e5ec789
Update tents permission overwrites
Hipperooni Jun 2, 2023
1fa91da
Merge branch 'main' of https://github.com/tripsit/TripBot into hipper…
LunaUrsa Jun 8, 2023
54c6b62
belly button linting
LunaUrsa Jun 8, 2023
9d607d8
Bug in knex
LunaUrsa Jun 8, 2023
90ac92d
Merge branch 'main' of https://github.com/tripsit/TripBot into hipper…
LunaUrsa Jun 9, 2023
3d5bfd9
Merge branch 'main' of https://github.com/TripSit/TripBot into hipper…
LunaUrsa Jul 6, 2023
6c58bba
Merge branch 'main' of https://github.com/TripSit/TripBot into hipper…
LunaUrsa Jul 10, 2023
c14975e
Add /voice radio
Hipperooni Jul 30, 2023
61a03db
Add /voice bitrate
Hipperooni Jul 30, 2023
ec82f4b
Merge branch 'main' of https://github.com/tripsit/TripBot into hipper…
LunaUrsa Jul 30, 2023
54b7a0e
Lint that shit
LunaUrsa Jul 30, 2023
c6c0c07
One more lint
LunaUrsa Jul 30, 2023
43f4210
Merge branch 'main' of https://github.com/tripsit/TripBot into hipper…
LunaUrsa Aug 5, 2023
a93d234
Merge branch 'main' of https://github.com/tripsit/TripBot into hipper…
LunaUrsa Aug 10, 2023
16cdcfa
Finish up
LunaUrsa Aug 10, 2023
3db904c
Possible /voice radio fix
Hipperooni Aug 11, 2023
46de4a2
Make "user" entry for /timezone and /birthday required to speed up co…
Hipperooni Aug 11, 2023
e2230b6
Merge branch 'hipperooni-branch' of https://github.com/tripsit/TripBo…
LunaUrsa Aug 11, 2023
23d79a5
Merge branch 'main' of https://github.com/tripsit/TripBot into hipper…
LunaUrsa Aug 11, 2023
f66695f
Merge branch 'main' of https://github.com/tripsit/TripBot into hipper…
LunaUrsa Oct 1, 2023
38fef98
Merge branch 'main' into hipperooni-branch
Hipperooni Oct 1, 2023
768f2cf
Trivia, small fixes
Hipperooni Oct 2, 2023
279c52a
Merge branch 'hipperooni-branch' of https://github.com/tripsit/TripBo…
LunaUrsa Oct 5, 2023
e2448e1
Undo required
LunaUrsa Oct 6, 2023
a78e376
Linting
LunaUrsa Oct 6, 2023
083e375
Fixing actions
LunaUrsa Oct 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/PullRequestOpenAll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ jobs:
run: npm install eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-airbnb-base eslint-config-airbnb-typescript eslint-config-google eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-jest eslint-plugin-sonarjs --save-dev && npx eslint --version
- name: Linting
run: npx eslint --ext .ts,.js .
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js '20.5.0'
uses: actions/setup-node@v3
with:
node-version: '20.5.0'
cache: 'npm'
- name: Update npm
run: npm install -g npm && npm --version
- name: Install dependencies
run: npm ci
- name: Copy env
run: cp .env.example .env
- name: Test
run: npx jest --silent -c ./src/jest/jest.unit.config.ts
# test:
# name: Test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js '20.5.0'
# uses: actions/setup-node@v3
# with:
# node-version: '20.5.0'
# cache: 'npm'
# - name: Update npm
# run: npm install -g npm && npm --version
# - name: Install dependencies
# run: npm ci
# - name: Copy env
# run: cp .env.example .env
# - name: Test
# run: npx jest --silent -c ./src/jest/jest.unit.config.ts
codeql:
name: CodeQL
runs-on: ubuntu-latest
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/PushToMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ jobs:
run: npm install eslint eslint-config-airbnb-base eslint-config-airbnb-typescript eslint-config-google eslint-import-resolver-typescript eslint-plugin-import --save-dev && npx eslint --version
- name: Linting
run: npx eslint --ext .ts,.js .
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js '20.5.0'
uses: actions/setup-node@v3
with:
node-version: '20.5.0'
cache: 'npm'
- name: Update npm
run: npm install -g npm && npm --version
- name: Install dependencies
run: npm ci
- name: Copy env
run: cp .env.example .env
- name: Test
run: npx jest --silent -c ./src/jest/jest.unit.config.ts
# test:
# name: Test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js '20.5.0'
# uses: actions/setup-node@v3
# with:
# node-version: '20.5.0'
# cache: 'npm'
# - name: Update npm
# run: npm install -g npm && npm --version
# - name: Install dependencies
# run: npm ci
# - name: Copy env
# run: cp .env.example .env
# - name: Test
# run: npx jest --silent -c ./src/jest/jest.unit.config.ts
codeql:
name: CodeQL
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions src/discord/commands/guild/d.birthday.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export const dBirthday: SlashCommand = {
.setName('get')
.setDescription('Get someone\'s birthday!')
.addUserOption(option => option
// .setRequired(true) If nothing is provided it defaults to the user who ran the command
.setName('user')
.setDescription('User to lookup'))
.addBooleanOption(option => option.setName('ephemeral')
Expand Down
10 changes: 5 additions & 5 deletions src/discord/commands/guild/d.rpg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,7 @@ export async function rpgArcade(
.addComponents(
customButton(`rpgCoinFlip,user:${interaction.user.id}`, 'CoinFlip', 'buttonCoinflip', ButtonStyle.Secondary),
customButton(`rpgRoulette,user:${interaction.user.id}`, 'Roulette', 'buttonRoulette', ButtonStyle.Secondary),
// customButton(`rpgTrivia,user:${interaction.user.id}`, 'Trivia', 'buttonTrivia', ButtonStyle.Secondary),
customButton(`rpgTrivia,user:${interaction.user.id}`, 'Trivia', 'buttonTrivia', ButtonStyle.Secondary),
// customButton(`rpgBlackjack,user:${interaction.user.id}`, 'Blackjack', '🃏', ButtonStyle.Primary),
// customButton(`rpgSlots,user:${interaction.user.id}`, 'Slots', '🎰', ButtonStyle.Primary),
customButton(`rpgTown,user:${interaction.user.id}`, 'Town', 'buttonTown', ButtonStyle.Primary),
Expand Down Expand Up @@ -3171,10 +3171,10 @@ export const dRpg: SlashCommand = {
.setDescription('Go to the coinflip game'))
.addSubcommand(subcommand => subcommand
.setName('roulette')
.setDescription('Go to the roulette game')),
// .addSubcommand(subcommand => subcommand
// .setName('trivia')
// .setDescription('Go to the trivia parlor')),
.setDescription('Go to the roulette game'))
.addSubcommand(subcommand => subcommand
.setName('trivia')
.setDescription('Go to the trivia parlor')),
async execute(interaction) {
log.info(F, await commandContext(interaction));
const channelRpg = await interaction.guild?.channels.fetch(env.CHANNEL_TRIPTOWN as string) as TextChannel;
Expand Down
1 change: 1 addition & 0 deletions src/discord/commands/guild/d.timezone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const dTimezone: SlashCommand = {
.setName('get')
.setDescription('Get someone\'s timezone!')
.addUserOption(option => option
// .setRequired(true) If nothing is provided it defaults to the user who ran the command
.setName('user')
.setDescription('User to lookup'))
.addBooleanOption(option => option.setName('ephemeral')
Expand Down
Loading