Commit graph

518 commits

Author SHA1 Message Date
11ad0af0b9
Add conversion of custom commands to SQL
All checks were successful
CI / CI (push) Successful in 21s
Lint Codebase / eslint (push) Successful in 16s
2024-12-17 10:48:24 +01:00
904fa25a6d
Add error if prepareBot fails 2024-11-06 09:12:14 +01:00
f28055e024
Refactor server.js
All checks were successful
CI / CI (push) Successful in 16s
Lint Codebase / eslint (push) Successful in 17s
2024-11-06 04:39:19 +01:00
5a4cfd0a5f
Rename database table functions to be clearer
All checks were successful
CI / CI (push) Successful in 19s
Lint Codebase / eslint (push) Successful in 12s
2024-11-06 01:44:16 +01:00
4b53d875e4
Remove njsscan workflow
All checks were successful
CI / CI (push) Successful in 17s
Lint Codebase / eslint (push) Successful in 12s
2024-11-05 06:55:47 +01:00
aaa10cb57a
update actions/checkout and actions/setup-node to v4
All checks were successful
CI / CI (push) Successful in 17s
Lint Codebase / eslint (push) Successful in 11s
2024-11-05 06:45:08 +01:00
b89b926f9a
Update actions/checkout to v4
All checks were successful
CI / CI (push) Successful in 17s
Lint Codebase / eslint (push) Successful in 13s
2024-11-05 06:37:03 +01:00
34c5f08806
Use scopes on switch cases
All checks were successful
CI / CI (push) Successful in 17s
Lint Codebase / eslint (push) Successful in 12s
2024-11-05 06:10:56 +01:00
a3e9e1f90c
Add count subcommand to custom command
Some checks failed
CI / CI (push) Successful in 17s
Lint Codebase / eslint (push) Failing after 12s
Use scopes in each case in the switch statement
2024-11-05 06:07:51 +01:00
bab508e4b9
Add eslint as linter and add linter workflow
Some checks failed
CI / CI (push) Successful in 18s
Lint Codebase / eslint (push) Failing after 12s
2024-11-05 06:03:14 +01:00
85821f5fa3
Update README
All checks were successful
CI / CI (push) Successful in 17s
2024-11-02 22:48:21 +01:00
0dc7c76821
Add initial dependabot file
All checks were successful
CI / CI (push) Successful in 20s
2024-11-02 20:55:58 +01:00
bd75426efa
Readme: Don't do any css
All checks were successful
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
All checks were successful
CI / CI (push) Successful in 16s
2024-11-02 05:55:43 +01:00
acbfcb25d3
Remove unused dependencies
All checks were successful
CI / CI (push) Successful in 16s
2024-11-01 20:34:54 +01:00
30d94706e1
Remove time measurement of command
All checks were successful
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
All checks were successful
CI / CI (push) Successful in 16s
2024-11-01 20:10:08 +01:00
aefd86a9bc
Improve test cases
All checks were successful
CI / CI (push) Successful in 16s
2024-11-01 20:07:50 +01:00
15b25c5732
Remove netmodule references in server/message
All checks were successful
CI / CI (push) Successful in 16s
2024-11-01 20:02:44 +01:00
cc149768c1
Remove the rest of netmodule references
All checks were successful
CI / CI (push) Successful in 16s
2024-11-01 19:59:27 +01:00
cddceda3c5
Update README.md to show if tests are passing
All checks were successful
CI / CI (push) Successful in 16s
2024-11-01 19:50:32 +01:00
5ec779b7a9
Remove netmodule functionality 2024-11-01 19:40:32 +01:00
8d07effbe0
Update readme
All checks were successful
CI / CI (push) Successful in 17s
2024-10-28 01:57:11 +01:00
f54ac8e1de
Use own parse-ms implementation
All checks were successful
CI / CI (push) Successful in 16s
2024-10-28 01:52:38 +01:00
906c0d86c0
Replace thirdparty parse-ms with my own, and add tests
All checks were successful
CI / CI (push) Successful in 16s
2024-10-28 01:44:53 +01:00
5081b9fec9
Rename file
All checks were successful
CI / CI (push) Successful in 11s
2024-10-27 17:17:33 +01:00
c94cca2272
Update name of CI test
All checks were successful
CI / CI (push) Successful in 10s
2024-10-27 02:30:34 +02:00
ee6debb715
Add test for getGuildCount
All checks were successful
discord bot tests / discord bot tests (push) Successful in 11s
2024-10-25 22:10:03 +02:00
7179260cff
Add .env to .gitignore
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 1s
discord bot tests / discord bot tests (push) Successful in 10s
2024-10-24 21:18:01 +02:00
c33e6c2676
Remove misplaced bracket
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 1s
discord bot tests / discord bot tests (push) Successful in 10s
2024-10-24 17:15:30 +02:00
fb45f1fc5a
setpresence: Add all presence types to moreHelp
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 1s
discord bot tests / discord bot tests (push) Successful in 11s
2024-10-24 17:12:14 +02:00
e31eb3f3e4
Remove unused url variable
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 1s
discord bot tests / discord bot tests (push) Successful in 11s
2024-10-24 02:19:29 +02:00
f4470ac2e9
Update github code scanning stuff to latest
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 2s
discord bot tests / discord bot tests (push) Successful in 11s
2024-10-24 01:39:27 +02:00
b36a71d517
Add test for getCreationDate
All checks were successful
discord bot tests / discord bot tests (push) Successful in 12s
2024-10-24 01:34:46 +02:00
4ca13712ed
Add test for calculateReloaded
All checks were successful
discord bot tests / discord bot tests (push) Successful in 10s
2024-10-22 11:52:29 +02:00
000f7e969c
Add @types/jest as a devDependency
All checks were successful
discord bot tests / discord bot tests (push) Successful in 10s
2024-10-22 11:51:12 +02:00
10934bb04f
Tests: Start implementing tests
All checks were successful
discord bot tests / discord bot tests (push) Successful in 10s
Only convertDateToISOString for now
2024-10-22 11:49:17 +02:00
e04d8857f9
Fix uninitialized variable 2024-10-22 07:49:42 +02:00
b94cb6fb91
Remove unused express dependency 2024-10-22 07:44:15 +02:00
062e6d43dc
Update discord.js dependency to version 14 (#116)
* Update discord.js in package.json to v14.16.3 & update package-lock.json

* Update all embeds to work with v14

* Do not show discriminator if it is 0
2024-10-22 07:36:10 +02:00
c751a5aec2
Fix github workflow
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 1s
2024-10-21 19:55:35 +02:00
0e0cad6734
Convert: Add inches to switch case
Some checks failed
njsscan sarif / njsscan code scanning (push) Failing after 1s
2024-10-20 15:17:51 +02:00
d6fd115646
Improve moreHelp on convert command to include all supported units 2024-10-20 15:13:37 +02:00
4e42957c93
Add conversion from inches to cm and vice versa 2024-10-20 15:12:57 +02:00
47ba5bd126
Use 1.8 instead of 9 / 5 in conversion 2024-10-17 19:17:41 +02:00
296b36d8ee
Add support for converting to/from Kelvin 2024-10-15 12:18:47 +02:00
2b4a8029d1
Put space between temperature and unit 2024-10-15 11:48:40 +02:00
dependabot[bot]
f4ab4efa1d
Bump path-to-regexp and express (#115)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.10 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 10:17:44 +02:00
dependabot[bot]
18cfef782b
Bump ws from 8.11.0 to 8.17.1 (#101)
Bumps [ws](https://github.com/websockets/ws) from 8.11.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.11.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 10:13:05 +02:00
af058d876a
Add support for weight conversion
KG => LB
LB => KG
2024-10-15 10:04:19 +02:00