Commit graph

25 commits

Author SHA1 Message Date
8b92667315
Add leading zeros and add one to month
Forgot about the fucking padding and month not being correct because
fuck javascript. Hopefully I didn't forget about anything else.
2021-06-27 20:14:46 +02:00
49e6eaed11
Rewrite createdate and joindate gets
Update botinfo to work with new getCreationDate
Update userinfo to work with new getCreationDate
Update userinfo to work with new getJoinDate
2021-06-27 19:59:02 +02:00
edbf942051
Save presence to config file 2021-06-27 13:45:06 +02:00
8d130b1519
Fix error when data dir exists but config doesn't 2021-06-27 02:20:46 +02:00
4b9f8e3687
Fix trying to load from wrong location 2021-06-22 16:23:49 +02:00
f6c4f19a74
Prettify json files 2021-06-19 15:19:26 +02:00
6371d43358
Create initial config automatically
Automatically create a config and refer users to the readme for further
instructions.
2021-06-19 12:48:02 +02:00
f7c36eefbd
Move config/data files into own directory 2021-04-21 19:27:29 +02:00
db04c07c60
Convert spaces to tabs 2021-04-21 18:36:52 +02:00
SileNce5k
d636b39d7a
Add ability to upload modules to the bot via discord
* Remove unused dependencies

* Add basic downloading of modules

* Add valid-url as dependency

* Add loading/reloading of netmodules

* Add support for help on netmodules

* Add whitelist for netmodules
2021-03-15 23:29:49 +01:00
a2cc442477
Remove console.log debugging 2021-03-13 04:31:55 +01:00
3b75fe165d
Add random number command 2021-03-13 04:04:02 +01:00
Ozzy
4717de1712
Add per server prefix (#7)
* Add ability to load server prefix

* Add ability to set prefix for a server

* Create serverPrefixes.json file if not found
2021-03-13 03:57:53 +01:00
86b3e57b4a
Delete cache of required files in util/
Addresses #5.
2021-03-10 23:48:41 +01:00
0bfeb8d3b6
Remove TODO
Not gonna implement reloading a specific module. I don't really see it
being worth it as it doesn't take a long time to just reload everything.
2021-03-10 21:10:55 +01:00
2594c5a60c
Change var to let on all variables
I've heard it's apparently best practice so I guess why not.
I don't know if it actually matters though.
2021-03-09 14:55:52 +01:00
984c86ef53
Remove commented out code 2021-03-08 21:17:04 +01:00
7b7054e9f5
Remove console.log debugging 2021-03-08 20:35:50 +01:00
acd2e2a502
Add support for reloading modules(commands) without restarting the bot. 2021-03-08 20:34:31 +01:00
0b6e92a75f
fix issue with month returning 1 less than expected 2021-02-19 22:12:10 +01:00
88b10d0ffd
update parsemention 2021-02-19 21:02:00 +01:00
4514b45ab8
Cleaned up code so it looks a bit better even though it still looks like shit lol 2021-02-19 12:26:39 +01:00
228f3468e7
removed joindates because idk how to do it properly 2021-02-19 11:55:36 +01:00
8e47ffcb14
Add creationJoinDates.js 2021-02-18 05:04:41 +01:00
4b780e0bf1
add parsemention 2021-02-16 21:49:43 +01:00