Commit graph

140 commits

Author SHA1 Message Date
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
99945f8db8
Add moreHelp to netload command 2021-06-25 19:44:33 +02:00
d674013510
Don't hardcode client username and avatar 2021-06-25 19:44:33 +02:00
ed912311e0
Add moreHelp on emoji command 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
f840bfd9db
Remove console.log() debugging 2021-06-22 21:03:37 +02:00
49517e6b97
Add license 2021-06-22 18:23:57 +02:00
d6580ff815
Update discord.js 2021-06-22 18:21:01 +02:00
f9d5b70dbe
Remove useless console.log() line 2021-06-22 17:55:05 +02:00
0675aa271d
Update README 2021-06-22 17:53:11 +02:00
f78082def5
Update README 2021-06-22 17:51:41 +02:00
aae1da7bd4
Send plaintext instead of the file
So people don't have to download the example file.
2021-06-22 17:27:57 +02:00
74ed4d9059
Fix setpresence command 2021-06-22 17:17:36 +02:00
4b9f8e3687
Fix trying to load from wrong location 2021-06-22 16:23:49 +02:00
6bfa3dec46
Add set presence for the bot 2021-06-22 06:54:59 +02:00
35379aaf49
Declare variable 2021-06-22 06:48:41 +02:00
e73dc69cb5
Update package.json 2021-06-21 21:44:26 +02:00
f6c4f19a74
Prettify json files 2021-06-19 15:19:26 +02:00
e20c67467e
Update package-lock.json 2021-06-19 13:00:10 +02:00
4c1a87118b
Add message.js
Forgot to commit this with 4630cefd47 like
a fucking idiot.
2021-06-19 12:55:19 +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
4630cefd47
Split up server.js and message handling 2021-06-19 12:47:18 +02:00
568cfcaf4c
Update README
More information about how to use the bot.
2021-06-19 12:45:51 +02:00
8d7019bd71
Edit example 2021-06-19 10:26:39 +02:00
86d97622a8
Indent code after if statement 2021-06-14 20:25:14 +02:00
30710ade0b
Refactor three if statements into one if statement 2021-05-24 16:47:51 +02:00
0bd6e4d076
Remove require fs line 2021-05-24 16:42:33 +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
4576eec78a
Remove comment in gitignore file 2021-04-20 21:05:38 +02:00
557394a1f9
Add gitignore 2021-04-20 18:20:35 +02:00
0677b93750
Add join date to userinfo 2021-04-20 18:17:58 +02:00
306fb7faab
Reload netload on reload command 2021-03-16 00:18:31 +01:00
dd55112b2c
Fix netload whitelist problems
At least I hope I did 😩
2021-03-16 00:07:49 +01:00
8acdd23aca
Update example with parameters you can use 2021-03-15 23:40:08 +01: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
88100600b9
Update github link in botinfo 2021-03-15 16:53:50 +01:00
912c6350d9
Change let to const 2021-03-13 16:03:36 +01:00
0d7f1a7b6b
Add punctuation in permission denied message 2021-03-13 04:34:28 +01:00
a2cc442477
Remove console.log debugging 2021-03-13 04:31:55 +01:00
5b98166a2b
Add check for permissions on prefix command
Now only people with the MANAGE_GUILD permission can edit the prefix of
that specific server.
2021-03-13 04:30:16 +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
Ozzy
ae1ce65602
Update README.md
Add link to discord.js library website
2021-03-13 01:37:23 +01:00
d29920f871
Pass prefix in help command 2021-03-12 23:19:44 +01:00