Commit graph

246 commits

Author SHA1 Message Date
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
722898468f
Add owo command 2021-07-10 20:52:46 +02:00
SileNce5k
5a7c04b974
Create codeql-analysis.yml
I'm just testing to see wtf this does
2021-07-10 20:27:08 +02:00
5a3f3a5e2c
Check server dir instead of specific files 2021-07-10 20:08:25 +02:00
9a0589d2ad
Add check for ready.js when updating 2021-07-10 20:05:24 +02:00
a3f2804a8c
Fix 'custom show' 2021-07-10 20:01:16 +02:00
a442c5cbe8
add 'added' to the end of sendText string 2021-07-10 17:37:37 +02:00
263576c671
Change sendtext when adding custom command 2021-07-10 17:34:25 +02:00
0627e2323f
Fix add custom command where message is empty 2021-07-10 17:32:50 +02:00
2820cf954b
Update description, plus change to double quotes 2021-07-10 16:19:11 +02:00
2dab176290
Split up onReady into own function
1
2021-07-10 13:02:41 +02:00
7710d53e71
Actually make bot owner able to delete any command 2021-07-09 20:28:16 +02:00
b872e88f85
Allow bot owner to delete custom commands 2021-07-09 20:22:38 +02:00
b07418e03c
Add check for empty message in custom command 2021-07-09 20:18:14 +02:00
bf1a7985aa
Refactor presence stuff
* Create new function that sets presence which replaces with correct
  variables
* Probably some more shit I don't remember
2021-07-09 18:10:49 +02:00
7b069ad429
Add warning if server.js or message.js is updated 2021-07-09 17:58:44 +02:00
ca1bf59c5e
Mention roles in userinfo 2021-07-09 17:07:40 +02:00
f42910dd4c
Make guilds command an admin command 2021-07-09 16:17:40 +02:00
a2920bc381
Add guilds command that sends all guild names 2021-07-08 20:08:36 +02:00
9da4eebe89
Add guilds as custom variable for bot presence 2021-07-08 18:33:20 +02:00
6afdef5fdf
Switch join and creation date 2021-07-08 15:06:36 +02:00
c16a42bf2b
Fix commit count not being correct 2021-07-08 12:38:31 +02:00
3a334b3347
Fix nickname being null on userinfo 2021-07-08 12:33:47 +02:00
a59d642d75
Add commit count to update command 2021-07-08 12:18:36 +02:00
855daefa4d
Move guild count into own function 2021-07-08 12:06:31 +02:00
c470b12f30
Simplify regex 2021-07-07 19:53:45 +02:00
456d3aae3c
Make update show all commits since last update 2021-07-07 19:51:42 +02:00
a719ffbb4c
Edit description on penissize 2021-07-07 19:38:24 +02:00
0808322a2d
Remove useless else thing 2021-07-07 18:30:27 +02:00
a2467ce453
Actually fix this shit 2021-07-07 18:21:10 +02:00
0c1357903b
Fix update to show whole commit msg 2021-07-07 18:00:52 +02:00
3e718e60ec
Edit message after update with last commit 2021-07-07 17:38:05 +02:00
85baa09942
Update README.md
Change `node server.js` to `npm start` because it's shorter and fasster
to type
2021-07-07 15:54:54 +02:00
ae85020836
Fix penis size command
Change seeded-rand to seededrandom. For some reason I couldn't get the
former to work.
2021-07-06 16:25:39 +02:00
597dac3dff
Actually edit message now
somehow forgot to add it earlier 😩 FUCK
2021-07-06 15:29:19 +02:00
c26dd3a65c
Update:Fast forward only
Don't want to accidentally create merge commits and fuck up everything
2021-07-06 15:27:16 +02:00
8b6526360f
Add require parsemention line, and edit message 2021-07-06 15:26:41 +02:00
b560090cc0
Add penis size command to bot
Add seeded-rand as dependency
2021-07-06 15:17:57 +02:00
63f28e4575
Add show feature to custom command
Show feature will show the custom message unformatted
2021-07-05 16:54:07 +02:00
c1bc55d456
Add editing feature to custom command
Also edit the default if argument isn't recognised.
2021-07-05 16:45:15 +02:00
274215f665
Remove unused variable 2021-07-05 16:02:35 +02:00
edba188072
Show correct amount of servers on botinfo command 2021-07-04 20:41:55 +02:00
f8079bdb14
Pad time when only 1 digit 2021-07-04 20:37:10 +02:00
453bf35803
Make code a tiny bit cleaner 2021-07-04 13:17:45 +02:00
8b1a43e1bc
Add require line that I forgot to commit earlier 2021-07-04 13:13:54 +02:00
8849682163
Fix some issues with custom command 2021-07-04 12:53:01 +02:00
9bb9effaf7
Add custom variables to custom message feature 2021-07-04 12:51:26 +02:00