Commit graph

413 commits

Author SHA1 Message Date
1303b19350
Fix embeds: expected object, got string 2023-12-07 14:19:21 +01:00
fdcb897e42
Fix embeds for help command 2023-12-07 13:50:58 +01:00
f3caf1b7ce
Fix embeds for botinfo command 2023-12-07 13:49:42 +01:00
7fac368e31
Fix embeds for custom command 2023-12-07 13:45:03 +01:00
96931c9952
Fix embeds for serverinfo command 2023-12-07 13:19:56 +01:00
6c1c078e34
Formatting 2023-12-07 13:18:42 +01:00
547d3c1504
Fix embeds for userinfo command 2023-12-07 13:13:14 +01:00
9e41b2336c
Use new imports and intents 2023-12-07 12:51:55 +01:00
4963048bbc
Update discord.js to 14.4.0 2023-12-07 12:37:12 +01:00
2c8be96c1b
Attempt to fix weather command crashing when website is down 2023-12-07 12:23:26 +01:00
5c80c5cd05
Move right parenthesis to the correct place 2023-12-07 12:22:15 +01:00
f5714cb90d
Fix weather command properly....... 2023-12-06 17:49:34 +01:00
3927b7905b
Use timeout in getWeather 2023-12-06 17:40:56 +01:00
c4f526d37f
Fix weather command crashing when website is down 2023-12-06 17:26:03 +01:00
95702b6ea9
Say: Do not remove the original command 2023-12-06 13:36:43 +01:00
a82b62340e
Fix say command failing when permissions are missing
Bot tries to delete the say message of the author, but if the bot does
not have permissions to delete messages, it will crash the bot.
2023-12-06 13:28:46 +01:00
dcbf3617a3
Have the fahrenheit temperature in parenthesis 2023-12-05 11:02:57 +01:00
563c43724b
Add log for when there is a non 404 or 200 code 2023-12-04 18:02:06 +01:00
ecc162549e
Use replace instead of splitting for fahrenheit
Didn't know replace was a thing, so I did it in a kinda of shitty way
before. Shouldn't be much difference except for the code being more
understandable.
2023-12-04 16:01:57 +01:00
d8649ff943
Fix crash on weather command with invalid location 2023-12-04 15:47:07 +01:00
d1903c27e7
Fix comma in weather output 2023-12-03 21:19:07 +01:00
b0188483ac
Add weather command 2023-12-03 21:12:21 +01:00
0853f97e99
Use underscores for parseTime numbers 2023-11-19 15:46:55 +01:00
a06221d275
Add error message if send command fails 2023-08-09 09:20:36 +02:00
845f415e5a
Remove devbot branch from njsscan 2023-07-26 23:53:34 +02:00
bb1e668e10
Fix no message on timer delete
Fixes #66
2023-07-26 23:47:32 +02:00
5970699061
Remove logging 2023-07-17 20:22:06 +02:00
dependabot[bot]
41d41c71c3 Bump semver from 6.3.0 to 6.3.1
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15 00:12:38 +02:00
7fef3eefce
Show custom message when showing timer 2023-06-30 19:17:23 +02:00
SileNce5k
5c2314936f
Create njsscan.yml 2023-06-30 18:35:56 +02:00
dependabot[bot]
f9430b05b7 Bump semver from 7.5.1 to 7.5.3
Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.5.1...v7.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-29 17:30:33 +02:00
dd3d21749e
Remove discriminator from custom commands 2023-06-29 17:09:08 +02:00
90fafebf74
Fix discriminator showing if zero 2023-06-29 17:06:42 +02:00
80b813ad14
Fix bot crashing when no message is provided
closes #59
2023-06-29 16:57:39 +02:00
fecd6877ea
Rewrite timers.js to use database 2023-06-02 11:15:47 +02:00
b0e9f88879
Fix timer show command failing 2023-06-01 12:30:57 +02:00
3dd47c1294
Add missing break to switch statement 2023-06-01 12:28:11 +02:00
d41b28ec91
Use an sqlite3 database for timer feature
There were some other small edits as well, mostly formatting or better
logging in certain functions
2023-06-01 12:01:03 +02:00
a098ab6616
Show timer message on timers command 2023-05-20 23:33:09 +02:00
354d4cd098 Add timer show command
This command shows information about the timer with the ID you have as
an argument.
2023-05-09 10:09:10 +02:00
5317d59e9a
Add the ability to delete timers 2023-04-29 17:26:10 +02:00
7aa1f43f29
Timers command shows timer ID 2023-04-29 17:20:40 +02:00
2313c59a3a
Rewrite timer & Separate createTimer into own file 2023-04-28 23:02:32 +02:00
8df6244363
Add an identifier to each timer
Closes #24
2023-04-16 19:05:46 +02:00
501a78b7c9
Remove comment 2023-04-16 18:23:44 +02:00
998955ed79
Fix netload not working if there is no whitelist
Closes #20
2023-04-16 15:31:02 +02:00
7bda48d4a4
Split up album and artist on userinfo (foobar2k)
Closes #32
2023-04-16 15:05:46 +02:00
2968079ad8
Merge branch 'devbot' 2023-04-16 14:40:15 +02:00
bbaff2b8c5
Merge branch 'master' into devbot 2023-04-16 14:09:31 +02:00
b7205da1dd
Add ability to use weeks in timer command
Closes #33
2023-04-16 14:04:31 +02:00