Commit graph

48 commits

Author SHA1 Message Date
Vylpes f9c706fdd8 Merge pull request '3.0.6' (#280) from hotfix/3.0.6 into main
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/280
2023-03-25 13:35:26 +00:00
Ethan Lane b5acc58a79 Bump json5 from 2.2.0 to 2.2.3 2023-03-25 13:28:52 +00:00
Ethan Lane d52868e5a3 Bump http-cache-semantics from 4.1.0 to 4.1.1 2023-03-25 13:27:35 +00:00
Vylpes 176fb00efe Update 'renovate.json' 2022-12-28 18:42:22 +00:00
RenovateBot f21e83bd70 Add renovate.json 2022-12-28 18:35:56 +00:00
Vylpes ec9aba8e26 Bump minimatch to 3.1.2 (#227)
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/227
Reviewed-by: VylpesTester <tester@vylpes.com>
2022-12-02 17:39:12 +00:00
Ethan Lane 1f818ae340
remove workflow 2022-08-29 20:46:32 +01:00
Ethan Lane 53a2771fc2
Temporarily remove test 2022-08-29 20:14:54 +01:00
Ethan Lane 702539d44b
Update workflow to use yarn 2022-08-29 20:13:10 +01:00
Vylpes 7ce3a29301 Add or update the Azure App Service build and deployment workflow config 2022-08-29 20:02:01 +01:00
Ethan Lane f080dc4e2d Bump package version to v3.0.4 2022-07-06 12:13:32 +01:00
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
Vylpes 1403619bda
Make bot check channel permissions before sending messages (#161) 2022-06-05 14:11:01 +01:00
Vylpes 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
Ethan Lane 31866b1c3b
Add ability to disable events 2022-04-24 15:32:29 +01:00
Ethan Lane 10aa1568a4
Update to v3.0.1 2022-04-24 14:55:49 +01:00
Vylpes 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
Vylpes 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
Vylpes 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
Vylpes 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