Commit graph

563 commits

Author SHA1 Message Date
e15eaf38b0
Don't escape parenthesis
All checks were successful
CI / CI (push) Successful in 22s
2025-06-21 17:47:06 +02:00
924a4b82fd
Separate executeCommand into its own util function
All checks were successful
CI / CI (push) Successful in 22s
2025-06-21 17:14:51 +02:00
f55b54eb49
Update package-lock.json
All checks were successful
CI / CI (push) Successful in 22s
2025-06-21 16:51:17 +02:00
SileNce5k
18c2d9dc18
Add dl command for downloading videos
All checks were successful
CI / CI (push) Successful in 1m25s
2025-06-21 16:47:36 +02:00
dependabot[bot]
600173771e
Bump discord.js from 14.19.3 to 14.20.0 (#145)
All checks were successful
CI / CI (push) Successful in 1m25s
Bumps [discord.js](https://github.com/discordjs/discord.js/tree/HEAD/packages/discord.js) from 14.19.3 to 14.20.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/14.20.0/packages/discord.js/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord.js/commits/14.20.0/packages/discord.js)

---
updated-dependencies:
- dependency-name: discord.js
  dependency-version: 14.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-16 22:04:02 +02:00
dependabot[bot]
6c514b7396
Bump @types/jest from 29.5.14 to 30.0.0 (#146)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.14 to 30.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-version: 30.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-16 22:03:35 +02:00
dependabot[bot]
ee21f4d75f
Bump jest from 29.7.0 to 30.0.0 (#144)
All checks were successful
CI / CI (push) Successful in 1m33s
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.7.0 to 30.0.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.0.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-14 21:20:10 +02:00
dependabot[bot]
561925a18e
Bump tar-fs from 2.1.2 to 2.1.3 (#143)
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.2 to 2.1.3.
- [Commits](https://github.com/mafintosh/tar-fs/commits)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-14 21:19:35 +02:00
47dba48c76
Setpresence: Add a force subcommand to update presence immediately
All checks were successful
CI / CI (push) Successful in 1m23s
2025-06-09 22:03:37 +02:00
e92210e856
Save globalPrefix in the settings map
All checks were successful
CI / CI (push) Successful in 1m23s
2025-06-09 21:50:27 +02:00
ba99719c20
Update setPresence custom variable logic
All checks were successful
CI / CI (push) Successful in 1m25s
2025-06-09 20:38:34 +02:00
69c7fd8d53
Sort guilds by amount of members
All checks were successful
CI / CI (push) Successful in 1m22s
2025-06-01 13:24:18 +02:00
8b2314ef1c
Use discord time format
All checks were successful
CI / CI (push) Successful in 1m23s
2025-06-01 13:20:31 +02:00
e5f4295281
Add info on when presence updates
All checks were successful
CI / CI (push) Successful in 1m23s
2025-06-01 13:10:43 +02:00
15749b1a9f
Don't check for variables when updating presence 2025-06-01 13:08:06 +02:00
cf41d58b47
Only save the presence in the setPresence command
All checks were successful
CI / CI (push) Successful in 1m24s
2025-06-01 12:36:41 +02:00
ddb7cb128f
Require outside the function 2025-06-01 12:35:24 +02:00
e06c6640b7
Use setInterval on updatePresence instead of setTimeout
All checks were successful
CI / CI (push) Successful in 1m24s
2025-06-01 11:18:24 +02:00
ac03b9d136
Add totalMember variable to presence
All checks were successful
CI / CI (push) Successful in 1m24s
2025-05-18 14:17:23 +02:00
15fb1d544f
Add colon to source info
All checks were successful
CI / CI (push) Successful in 1m24s
2025-05-18 13:52:43 +02:00
f14eff3f9c
Fix check if valid first arg on timer command
Some checks failed
CI / CI (push) Has been cancelled
2025-05-17 11:25:30 +02:00
ed77c2aaf1
Allow dates to be used in timer command
All checks were successful
CI / CI (push) Successful in 1m24s
And some general cleanup of a couple of functions.
2025-05-17 11:15:05 +02:00
c74f323c1b
Log command executed before executing
All checks were successful
CI / CI (push) Successful in 1m22s
Sometimes I use shift() on the args to handle them which causes the
logging to not log everything 100% accurately
2025-05-13 00:19:35 +02:00
be8d9660ba
Fix permissions checking not working if false
All checks were successful
CI / CI (push) Successful in 1m22s
2025-05-12 20:11:34 +02:00
9ac900bc4d
fm: Add top artists and albums to moreHelp
All checks were successful
CI / CI (push) Successful in 1m23s
2025-05-12 18:00:23 +02:00
6592f25882
Shift arguments so time option works
All checks were successful
CI / CI (push) Successful in 1m23s
2025-05-12 17:56:38 +02:00
4f57499cca
Add top artists to fm command
All checks were successful
CI / CI (push) Successful in 1m23s
2025-05-12 17:52:03 +02:00
9cb5ea22cb
Add top albums to fm command
All checks were successful
CI / CI (push) Successful in 1m23s
2025-05-12 03:08:25 +02:00
aa2ab653b9
tdoss: Improve error handling of downloadImage + add the tdoss template
All checks were successful
CI / CI (push) Successful in 1m22s
Also use tdoss directory in the data/ dir so I won't have a bunch of
random directories in the data dir.
2025-05-10 20:39:51 +02:00
2f371d00ed
Add message latency to ping command
All checks were successful
CI / CI (push) Successful in 1m23s
2025-05-09 04:03:32 +02:00
28d1f6d0a2
Add total members to botinfo command
All checks were successful
CI / CI (push) Successful in 1m22s
2025-05-08 17:37:05 +02:00
7053495f40
Guilds: Add members count to each server
All checks were successful
CI / CI (push) Successful in 1m23s
2025-05-08 16:23:03 +02:00
0d10a15f5b
Remove unused variable
All checks were successful
CI / CI (push) Successful in 1m22s
2025-05-04 21:58:01 +02:00
0a7f8b9ba3
Add permissions to workflow
All checks were successful
CI / CI (push) Successful in 1m22s
Mainly to get rid of code scanning alert lol
2025-05-04 04:22:15 +02:00
dependabot[bot]
99e0f3a59d
Bump cross-spawn from 7.0.3 to 7.0.6 (#139)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-version: 7.0.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-04 04:20:13 +02:00
dependabot[bot]
8481f4563c
Bump @babel/helpers from 7.25.7 to 7.27.1 (#138)
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.25.7 to 7.27.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-helpers)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-version: 7.27.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-04 04:17:19 +02:00
dependabot[bot]
d39a1a005a
Bump tar-fs from 2.1.1 to 2.1.2 (#137)
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.1 to 2.1.2.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.1...v2.1.2)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-04 04:13:17 +02:00
007c6db3bc
Update discord.js to 14.19.3 and dotenv to 16.5.0
All checks were successful
CI / CI (push) Successful in 1m24s
2025-05-04 04:07:05 +02:00
b2c6c705c3
Add more types of whitelisting, plus support for subcommands
All checks were successful
CI / CI (push) Successful in 1m24s
2025-05-04 04:02:03 +02:00
99d6fc2401
Add whitelist for users as well
All checks were successful
CI / CI (push) Successful in 1m25s
2025-05-03 07:27:42 +02:00
30c7fd171f
Fix crash when command does not exist
All checks were successful
CI / CI (push) Successful in 1m24s
This regression appeared when I removed custom command support
2025-05-02 16:50:20 +02:00
6b45bc6799
Switch to gemini 2.0 LLM
All checks were successful
CI / CI (push) Successful in 1m26s
2025-05-02 16:42:25 +02:00
52c7a4cbad
Remove chat command
All checks were successful
CI / CI (push) Successful in 1m23s
Discord has started banning bots that train on input. Since I use free
APIs, I cannot guarantee that the prompts won't be used for training.
2025-05-02 16:32:45 +02:00
ca646fc5ee
Fix downloadImage not returning 2 when content-type isn't image
All checks were successful
CI / CI (push) Successful in 1m24s
2025-04-30 23:17:49 +02:00
f0e08eec13
Add lastfm roast feature with LLM
Some checks failed
CI / CI (push) Has been cancelled
2025-04-30 23:14:03 +02:00
a066fd0662
Improve whitelist feature
All checks were successful
CI / CI (push) Successful in 1m24s
* Use a primary autoincrementing primary key because primary keys need
  to be unique
* Cache whitelist on bot startup / only read from database once
* "Externalize" whitelist checking to the messageCreate function.
2025-04-30 16:18:34 +02:00
c9d7a54e25
Chat: Increase max_tokens to 250
All checks were successful
CI / CI (push) Successful in 1m23s
2025-04-30 11:47:19 +02:00
bb81ff2e16
Add whitelist and chat (LLM) feature
All checks were successful
CI / CI (push) Successful in 1m24s
2025-04-30 11:40:10 +02:00
1fd5f6cc6a
Don't show page number on help with specific commands
All checks were successful
CI / CI (push) Successful in 1m28s
2025-04-12 03:28:44 +02:00
6f8dd7ebf6
tdoss: Pull the latest image in chat if none are provided
All checks were successful
CI / CI (push) Successful in 1m27s
limited to 20 last messages for now
2025-04-12 03:21:50 +02:00