ec5993e585
Use UTC for consistent behaviour
2025-05-15 04:39:27 +02:00
0dc6af5984
Return text to send instead of sending in util function
2025-05-15 04:38:50 +02:00
17e7aa3dbb
Fix logic of deciding which parser to use
CI / CI (push) Successful in 1m22s
2025-05-14 19:06:37 +02:00
24cc4eb26d
Check if the date is in the past
CI / CI (push) Successful in 1m22s
2025-05-14 18:21:13 +02:00
a16263c04e
Remove unneeded fs require
2025-05-14 07:57:08 +02:00
8c642f16f0
Rename argument name to something more sensible
...
CI / CI (push) Successful in 1m23s
and add comment explaining off by 1 error
2025-05-14 07:52:19 +02:00
9062b32009
Rename function to timeUntil
2025-05-14 07:33:10 +02:00
2bb0f38701
Update description on timer command
2025-05-14 07:30:37 +02:00
2c90c20e50
Allow dates to be used in timer command
CI / CI (push) Successful in 1m23s
2025-05-14 06:51:03 +02:00
c74f323c1b
Log command executed before executing
...
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
CI / CI (push) Successful in 1m22s
2025-05-12 20:11:34 +02:00
9ac900bc4d
fm: Add top artists and albums to moreHelp
CI / CI (push) Successful in 1m23s
2025-05-12 18:00:23 +02:00
6592f25882
Shift arguments so time option works
CI / CI (push) Successful in 1m23s
2025-05-12 17:56:38 +02:00
4f57499cca
Add top artists to fm command
CI / CI (push) Successful in 1m23s
2025-05-12 17:52:03 +02:00
9cb5ea22cb
Add top albums to fm command
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
...
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
CI / CI (push) Successful in 1m23s
2025-05-09 04:03:32 +02:00
28d1f6d0a2
Add total members to botinfo command
CI / CI (push) Successful in 1m22s
2025-05-08 17:37:05 +02:00
7053495f40
Guilds: Add members count to each server
CI / CI (push) Successful in 1m23s
2025-05-08 16:23:03 +02:00
0d10a15f5b
Remove unused variable
CI / CI (push) Successful in 1m22s
2025-05-04 21:58:01 +02:00
0a7f8b9ba3
Add permissions to workflow
...
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
CI / CI (push) Successful in 1m24s
2025-05-04 04:07:05 +02:00
b2c6c705c3
Add more types of whitelisting, plus support for subcommands
CI / CI (push) Successful in 1m24s
2025-05-04 04:02:03 +02:00
99d6fc2401
Add whitelist for users as well
CI / CI (push) Successful in 1m25s
2025-05-03 07:27:42 +02:00
30c7fd171f
Fix crash when command does not exist
...
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
CI / CI (push) Successful in 1m26s
2025-05-02 16:42:25 +02:00
52c7a4cbad
Remove chat command
...
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
CI / CI (push) Successful in 1m24s
2025-04-30 23:17:49 +02:00
f0e08eec13
Add lastfm roast feature with LLM
CI / CI (push) Has been cancelled
2025-04-30 23:14:03 +02:00
a066fd0662
Improve whitelist feature
...
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
CI / CI (push) Successful in 1m23s
2025-04-30 11:47:19 +02:00
bb81ff2e16
Add whitelist and chat (LLM) feature
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
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
...
CI / CI (push) Successful in 1m27s
limited to 20 last messages for now
2025-04-12 03:21:50 +02:00
7dc9be5598
Fix command injection security issue
...
CI / CI (push) Successful in 1m27s
Download using fetch instead of using curl command line. Can't trust
user input :)
2025-04-11 09:20:44 +02:00
44df923ce9
Update tdoss error message
CI / CI (push) Successful in 1m27s
2025-04-11 00:26:46 +02:00
e47043317c
Add the ability to reply to images with tdoss command
CI / CI (push) Successful in 1m28s
2025-04-11 00:02:07 +02:00
4c1199aea5
Only start typing when heavy work begins
...
CI / CI (push) Has been cancelled
I found that if I start at the beginning, if the command failed early,
it'd still be typing a couple seconds after replying to your command,
which was kind of annoying.
2025-04-11 00:00:06 +02:00
bf97b3633f
Add the ability to use a URL on the tdoss command
CI / CI (push) Successful in 1m27s
2025-04-10 03:34:21 +02:00
2618524f7f
Add tdoss command
CI / CI (push) Successful in 1m32s
2025-04-10 01:38:03 +02:00
0dc7c76821
Add initial dependabot file
CI / CI (push) Successful in 20s
2024-11-02 20:55:58 +01:00
bd75426efa
Readme: Don't do any css
...
CI / CI (push) Successful in 16s
github doesn't support css at all unfortunately :(
2024-11-02 06:06:20 +01:00
c6997f9c28
Improve position of CI tests passing badge
CI / CI (push) Successful in 16s
2024-11-02 05:55:43 +01:00
acbfcb25d3
Remove unused dependencies
CI / CI (push) Successful in 16s
2024-11-01 20:34:54 +01:00
30d94706e1
Remove time measurement of command
...
CI / CI (push) Successful in 16s
It never worked anyways
2024-11-01 20:18:13 +01:00
10e429c870
Specify master branch in README.md svg
CI / CI (push) Successful in 16s
2024-11-01 20:10:08 +01:00
aefd86a9bc
Improve test cases
CI / CI (push) Successful in 16s
2024-11-01 20:07:50 +01:00