Commit graph

6 commits

Author SHA1 Message Date
SileNce5k
e7cdd425d1
Split commands into subdirectories
* Move command files into directories

* Edit relative paths

* Update gitignore

* Finish support for commands in subdir

* Split up getCommandFiles into own function

* Add support for subdirs on help command
2021-07-18 11:24:46 +02:00
db04c07c60
Convert spaces to tabs 2021-04-21 18:36:52 +02:00
0c627c43d4
Small edit 2021-03-11 22:35:18 +01:00
c51a4fa976
Pass objects on command.execute
Pass objects instead of using a switch statement.
Now I don't have to restart the bot whenever I add a new command
that needs specific arguments other than 'message'.
2021-03-09 18:50:27 +01:00
2a4a021860
Refactor uptime command
Use parse-ms instead of pretty-ms.
It wasn't possible to make it return what I wanted it to return.
Was easier to just do that manually.
2021-03-09 02:24:51 +01:00
7a9deac608
Add uptime command 2021-03-09 01:59:35 +01:00