Commit graph

492 commits

Author SHA1 Message Date
bc3b182236
Only execute bannerURL function once 2022-01-22 11:18:17 +01:00
9f5b2675c2
Fix banner command 2022-01-22 10:36:18 +01:00
8ea6e0234a
Add banner command 2022-01-22 09:27:38 +01:00
921eb318bc Testing thing 2022-01-18 13:39:06 +01:00
72a6d78003 Fix help on specific commands 2022-01-18 13:38:04 +01:00
e056af182e Fix double thing in embed 2022-01-18 10:20:48 +01:00
f4d08aa875 Sending the embed is probably smart 2022-01-18 10:18:53 +01:00
bcff645ba7 If no moreHelp is available, use the normal help
Basically just use the normal help string instead of just sending error
if there is no moreHelp on that command.
2022-01-18 10:16:12 +01:00
12af74901f Add bot invite command 2022-01-18 09:33:58 +01:00
826d13eadd
Fix custom command
Convert to string before sending message
2022-01-14 21:33:50 +01:00
8b3387d109
Fix netload whitelist issue 2022-01-14 21:33:37 +01:00
837b6ea13e
Fix updatePresence thing 2022-01-14 19:17:28 +01:00
c4d6370ea1
Fix ask command description 2022-01-14 18:35:02 +01:00
008eccece3
Fix servericon command 2021-09-25 14:42:35 +02:00
3dadfd5340
Change format of presence thing 2021-08-31 18:25:40 +02:00
607ae7d853
Use a for loop instead of being an idiot 2021-08-31 18:20:25 +02:00
b8b272c099 Fix typo in loadserverprefixes console.log 2021-08-31 07:55:53 +02:00
d91b2c748c
Fix presence updating without restarting bot
Use a discord collection instead of reading from a config file
2021-08-30 23:20:25 +02:00
32862a825f
Prefix: Remove parsemention require line 2021-08-12 20:44:48 +02:00
154f3dab8c
userinfo: Fix embed lining up 2021-08-12 18:36:37 +02:00
5923d9ba56
morePresence: Add check if details is null 2021-08-12 18:35:29 +02:00
f4538784af
Update README.md
Parsemention seems to work every time, so there is no point in having it
as a known issue anymore.
2021-08-10 17:53:18 +02:00
ecbdc9ad24
Fix userinfo command
Forgot to test it for v13
I'm fucking idot
2021-08-09 20:53:07 +02:00
1ea4892167
Update to make it work on discord.js v13
* Use intents
* Use messageCreate instead of message
* Update sending embeds for v13
* Fix getNickname for v13
* Fix user presence
* guild.member to guild.members.cache.get
* Fix userinfo (+ some other minor changes)
2021-08-09 20:15:03 +02:00
2ac01e2ce1
Refactor randomNumber function 2021-08-07 23:50:58 +02:00
fd2ebd25f4
Set admin to true on send command 2021-08-06 19:07:58 +02:00
d9f29d8267
Add send command 2021-08-06 19:04:26 +02:00
423a4095bf
Fix plural when multiple modules are added 2021-08-06 19:03:05 +02:00
af4c08b220
Add execution time to command logging 2021-08-03 16:25:17 +02:00
c2e88c9948
Add ask command 2021-07-28 23:22:42 +02:00
cb6b632b71
Fix nickname not showing in userinfo 2021-07-26 18:21:12 +02:00
41734e7412
Remove whitespace 2021-07-24 19:44:12 +02:00
be52c11691
Fix setpresence command 2021-07-24 18:10:44 +02:00
059785955f
Fix servericon command 2021-07-22 11:23:21 +02:00
f448c63801
Make util use subdirfiles command on reload 2021-07-22 09:37:07 +02:00
047ba95311
Get files from top directory + rename file
* Generalise variable names

* Change require stuff to the new thing
2021-07-22 09:26:45 +02:00
32dbcd062e
Add servericon command 2021-07-22 02:32:34 +02:00
f49a3c7bf5
Update README 2021-07-18 15:14:28 +02:00
201893533b
Fix custom command
Issue was caused by wrong path.
2021-07-18 15:05:29 +02:00
71df7372e8
Fix update crashing when message is too long 2021-07-18 12:10:18 +02:00
c25e2bae71
Fix help command 2021-07-18 11:53:31 +02:00
b0543a8eb6
Fix issue with reloading commands 2021-07-18 11:52:20 +02:00
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
8993eeaf7a
Update gitignore
Debug command is in admin subdir now, so gitignore has to be updated for
that or I'd fucking die
2021-07-18 04:05:45 +02:00
b29cfa5ed4
Edit update text if bot needs to be restarted 2021-07-15 14:04:02 +02:00
792569455e
Remove unneeded require line 2021-07-13 01:02:48 +02:00
ce1936df62
Change all vars to const or let 2021-07-13 01:02:22 +02:00
0d7734958c
Revert "Create codeql-analysis.yml"
This reverts commit 5a7c04b974.
2021-07-12 18:26:21 +02:00
31fcb4618d
Refactor regex
Now it doesn't rely on commit hash being 7 chars
2021-07-12 18:22:53 +02:00
fe8b2d23ea
Merge branch 'master' of https://github.com/SileNce5k/discord_bot 2021-07-10 20:53:38 +02:00