Commit graph

8 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
ce1936df62
Change all vars to const or let 2021-07-13 01:02:22 +02:00
ed912311e0
Add moreHelp on emoji command 2021-06-25 19:44:33 +02:00
db04c07c60
Convert spaces to tabs 2021-04-21 18:36:52 +02: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
c1832b63c5
Fixed so the <extension> variable doesn't assign a value more than once 2021-02-16 04:17:23 +01:00
421b1272ed
returns if there is an error 2021-02-16 00:19:39 +01:00
3651a957a1
added emoji command that returns the url of the emoji 2021-02-14 21:19:07 +01:00