Commit graph

23 commits

Author SHA1 Message Date
ce1936df62
Change all vars to const or let 2021-07-13 01:02:22 +02:00
5ecd11ffb7
Remove space from commands variable 2021-06-27 03:03:04 +02:00
9f62d82033
Remove whitespace 2021-06-27 03:00:33 +02:00
9ee969863a
Edit moreHelp for help command 2021-06-26 13:55:13 +02:00
a2b8660735
Help for netmodules with netmodules not netload
Before you had to type <prefix>help netload to get information about
netmodules, but now it is netmodules to not conflict with a command with
the same name.
2021-06-25 19:44:34 +02:00
1cddfbbde4
Set title of embed to command.name if morehelp 2021-06-25 19:44:34 +02:00
5ed26c9d7f
Update moreHelp for help command 2021-06-25 19:44:34 +02:00
de5a7e7453
Refactor help to make it look a tiny bit cleaner 2021-06-25 19:44:34 +02:00
d674013510
Don't hardcode client username and avatar 2021-06-25 19:44:33 +02:00
106afe52ed
Fix crash on help command if no commands match
If there were no specific commands that matched the argument, the bot
would crash. This commit fixes that issue.
2021-06-25 19:44:32 +02:00
7891e079c1
Add moreHelp description to help command 2021-06-25 19:44:32 +02:00
977d03e2e2
Expand help command with morehelp feature
Now you can specify what command you want help on.

Respond if no specific command or help

Add moreHelp for the userinfo command

Use regex to replace <prefix> with actual prefix
2021-06-25 19:43:59 +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
d29920f871
Pass prefix in help command 2021-03-12 23:19:44 +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
7bc234fc6e
Don't show disabled commands 2021-03-06 18:27:33 +01:00
dda61b1632
Only enabled commands show up in help menu now 2021-03-03 14:15:23 +01:00
c6ed10ae94
add admin only commands support for help command 2021-02-19 22:13:22 +01:00
2aa72c0ea2
better looking help command 2021-02-14 20:35:06 +01:00
a6ce102e05
added emoji command 2021-02-14 20:07:21 +01:00
a3e54a01c1
removed unused variable 2021-02-14 18:59:34 +01:00
ae1f1eac43
added help and say commands 2021-02-14 11:54:07 +01:00