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
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
2428321448
Say command now deletes the message it is repeating
Doesn't check for permissions, so there'll be an error if the bot can't delete the message
2021-03-01 19:43:05 +01:00
b1b0a44b76
formatting 2021-02-17 03:23:36 +01:00
310d737201
'say' command now checks length of args so it doesn't attempt to send an empty message. 2021-02-17 03:19:53 +01:00
dd1b4fd21a
final fix for say command hopefully 2021-02-14 12:09:35 +01:00
49984be6b6
fixed say command 2021-02-14 12:07:52 +01:00
ae1f1eac43
added help and say commands 2021-02-14 11:54:07 +01:00