Commit graph

143 commits

Author SHA1 Message Date
dependabot[bot]
5d89a57188
Bump got from 11.8.3 to 11.8.5 (#164)
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 12:12:00 +01:00
ac6be6bf5a Merge branch 'main' into develop 2022-06-05 14:17:31 +01:00
1403619bda
Make bot check channel permissions before sending messages (#161) 2022-06-05 14:11:01 +01:00
aa070bb7a7
v3.0.2 (#159)
* Change lobby command to error upon making a duplicate lobby channel (#154)

* Update lobby command to give proper errors if role or channel id cannot be found (#156)

* Add bunny command back (#157)

* 150 assignable roles should be its own table to prevent limitations on length (#158)

* Add entity

* Update role config command to use new entity

* Update role command to use new entity

* Remove legacy code from config command

* Update .env template to current date
2022-05-16 18:41:15 +01:00
d7576f1863
Update .env template to current date 2022-05-16 18:40:34 +01:00
514be692fd
150 assignable roles should be its own table to prevent limitations on length (#158)
* Add entity

* Update role config command to use new entity

* Update role command to use new entity

* Remove legacy code from config command
2022-05-14 14:59:32 +01:00
6522bee37b
Add bunny command back (#157) 2022-05-12 18:04:34 +01:00
861676ed0b
Update lobby command to give proper errors if role or channel id cannot be found (#156) 2022-05-11 17:26:50 +01:00
b4cec6778d
Change lobby command to error upon making a duplicate lobby channel (#154) 2022-05-10 18:15:40 +01:00
31866b1c3b
Add ability to disable events 2022-04-24 15:32:29 +01:00
10aa1568a4
Update to v3.0.1 2022-04-24 14:55:49 +01:00
7bb8872acd
Merge pull request #146 from Vylpes/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-04-24 14:54:37 +01:00
97b8a46a31
Merge pull request #147 from Vylpes/dependabot/npm_and_yarn/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7
2022-04-24 14:54:17 +01:00
dependabot[bot]
27a258adf0
Bump node-fetch from 2.6.6 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-24 13:47:08 +00:00
dependabot[bot]
60cb3a1f22
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-24 13:47:04 +00:00
04a4a6204c
v3.0 (#145)
* Change rules.txt to rules.json (#31)

* Migrate to yarn

* Add role configs to config template

* Install packges and setup typescript

* Migrate entry point

* Migrate about command

* Migrate ban command

* Migrate clear command

* Migrate kick command

* Migrate mute command

* Migrate poll command

* Migrate bunny command

* Update required roles checker

* Migrate role command

* Migrate unmute command

* Migrate warn command

* Migrate eval command

* Migrate help command

* Migrate rules command

* Migrate events to typescript

* Update about command to use the PublicEmbed class

* Update ErrorMessage to ChannelNotFound

* Update messageDelete event to ignore bots

* Feature/74 merge vylbot core (#80)

* Merge VylBot-Core

* Update commands to new system

* Fix issue where events would not load

* Feature/12 create tests (#102)

* Fix tests

* Update coverage

* Remove unrequired mock files

* Add about command test

* Update about tests

* Ban command tests

* eval command tests

* Start help command tests

* Add help command tests

* Add kick command tests

* Mute command tests

* Poll command tests

* Add role command tests

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Add rules command tests

* Add unmute command tests

* Add warn command tests

* Add MemberEvents tests

* Add GuildMemberUpdate tests

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Add MessageEvents tests

* Add StringTools test

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Add embed tests

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Add GitHub Actions

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Move to tslint

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Remove tslint

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Remove linting script

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Update rules with blog website and event spoilers rule" (#106)

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Containerise bot (#107)

* Add moderator names to audit reason (#108)

* Feature/48 database (#114)

* Add database and default values

* Add ability to save a setting to the database

* Get commands and events to use database

* Setup and config command

* Update commands to check roles per server

* Different rules per server

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Different prefix per server

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Add verification system

Signed-off-by: Ethan Lane <ethan@vylpes.com>

* Disabled commands per server

* Add devmode for default prefix

* Update embeds

* Fix broken tests

* Feature/66 add different commands per server (#122)

* Add ability for server exclusive commands

* Add MankBot server-exclusive commands

* Add lobby entity to database

* Add documentation

* Add setup command for lobby (#123)

* Update bot to discord.js v13 (#125)

* Update bot to discord.js v13

* Remove debug code

* 110 commandshelp about command errors which causes command to not run (#126)

* Change onMessage to onMessageCreate

* Fix help command

* Add override for bot owner and server owner (#135)

* Change help command so exclusive commands can only be seen for the server they're assigned to (#136)

* Change parsing to not crash if invalid (#142)

* 137 role command cannot read properties of undefined (#141)

* Fix issue with bot crashing

* Fix server prefix not showing

* Add easy way to configure role command

* Move help text to its own directory

* Make role config command to use role id

* Get lobby command to use IDs instead of names (#144)

Co-authored-by: Vylpes <getgravitysoftware@gmail.com>
2022-04-24 14:46:37 +01:00
1168898e57
Hotfix/99 role requires assignable (#100)
* Fix issue where roles are not in the config

* Bump version to 2.1.3
2022-01-22 13:57:12 +00:00
Vylpes
49f04a19cd
Merge pull request #42 from Vylpes/dependabot/npm_and_yarn/ws-7.4.6
Bump ws from 7.4.5 to 7.4.6
2021-05-29 10:48:16 +01:00
dependabot[bot]
78176b5f38
Bump ws from 7.4.5 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.5...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 09:47:02 +00:00
Vylpes
c8e48a9b80
Merge pull request #41 from Vylpes/hotfix/40-random-bunny
Fix bunny command
2021-05-29 10:46:39 +01:00
Ethan Lane
b2c9823ccd Fix bunny command 2021-05-29 10:44:00 +01:00
VylpesTester
811f02c6ce
Merge pull request #37 from Vylpes/hotfix/lodash
Update packages
2021-05-11 18:28:49 +01:00
Ethan Lane
da796961c2 Update version 2021-05-11 18:28:33 +01:00
Ethan Lane
e893430ccf Update packages 2021-05-11 18:27:28 +01:00
Vylpes
84b12d3293
Create FUNDING.yml 2021-05-10 21:50:39 +01:00
Vylpes
e48f145c59
Update rules.txt 2021-04-06 19:58:57 +01:00
Vylpes
25c4f8c8fd Merge branch 'develop' into 'main'
VylBot App 21.0.0

See merge request Vylpes/vylbot-app!10
2021-02-17 18:12:45 +00:00
Vylpes
3ddad6972a VylBot App 21.0.0 2021-02-17 18:12:45 +00:00
Vylpes
88dca40dd6 Update default.md 2021-01-15 18:15:44 +00:00
Vylpes
fbaf930386 Upload New File 2020-12-30 18:33:30 +00:00
Vylpes
48978cca60 Add new directory 2020-12-30 18:33:23 +00:00
Vylpes
6ccdafc6e3 Add new directory 2020-12-30 18:33:08 +00:00
Vylpes
005f735789 Add readme.md 2020-11-09 10:18:14 +00:00
Vylpes
dc9bbbd58f Rename bot.js to vylbot.js 2020-11-08 16:47:36 +00:00
vylpes
6a7e52b0ca Add comments to role, rules commands, and the events 2020-11-07 17:01:03 +00:00
vylpes
2e13b4d861 Add comments to bunny and poll commands 2020-11-07 15:16:54 +00:00
Vylpes
d2493f9131 Add role and rules command 2020-11-04 19:58:54 +00:00
Vylpes
58cf283777 Added bunny and poll commands 2020-11-04 17:00:23 +00:00
Vylpes
edb307d6af Add messageDelete and messageUpdate events 2020-11-04 12:22:54 +00:00
vylpes
89dac73ab3 Added guildmember add, remove, and update events 2020-11-02 13:50:13 +00:00
vylpes
6663b76e6d Moved essential commands into essentials folder 2020-11-02 12:22:58 +00:00
Vylpes
2e3aeaed24 Basic Setup 2020-11-01 19:29:12 +00:00
Vylpes
5d21b40edf
Initial commit 2020-11-01 19:23:17 +00:00