Commit graph

420 commits

Author SHA1 Message Date
de27168908
Merge branch 'devbot' into discordjs-v14-upgrade 2024-03-04 13:07:20 +01:00
b861d943a6
fm command defaults to displaying the current scrobble 2024-03-04 12:47:13 +01:00
8c02dc5517
Add fm set username command
Beginning of the command. Can't do anything other than setting and
updating your lastfm username.
2024-03-04 12:10:02 +01:00
bdc08b3153
Improve the timer reminder message 2024-03-03 19:12:41 +01:00
6ca291136f
Add a tip to mention the bot if the new prefix doesn't work 2024-03-03 15:07:27 +01:00
482fc2a1e7
Add mentioning the bot as a valid prefix 2024-03-03 15:04:35 +01:00
f4f1ea71fe
Userinfo/embed: Fix Thumbnail, color and roles 2023-12-08 08:54:46 +01:00
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