Commit Graph

5164 Commits

Author SHA1 Message Date
Skillz4Killz 6ef83dbc87 fix(test): add member fetching tests 2022-05-30 22:20:41 +00:00
Skillz4Killz 84e553707e fix(tests): add nickname of bot test 2022-05-30 22:20:28 +00:00
Skillz4Killz 4ffddb3160 fix(tests): add dm test 2022-05-30 22:20:16 +00:00
Skillz4Killz 759518b35f fix(tests): add member ban tests 2022-05-30 22:20:06 +00:00
Skillz4Killz d51cf52a8c fix(tests): remove unused old tests files 2022-05-30 22:19:19 +00:00
Skillz4Killz 6c464ce5c0 fix(tests): cleanup some tests old code 2022-05-30 22:18:57 +00:00
Skillz4Killz 6b4160e066 BREAKING(helpers): getMember user isnt in server 2022-05-30 22:18:38 +00:00
Skillz4Killz 695fb7a4bc BREAKING(helpers): getDmChannel if no dm perms 2022-05-30 22:18:08 +00:00
Skillz4Killz e05e409d76 BREAKING(helper): fix getBan if not banned 2022-05-30 22:17:37 +00:00
Skillz4Killz 146c10d769 fix(test): events editing tests split 2022-05-30 15:29:33 +00:00
Skillz4Killz 7e24a7da27 fix(tests): remove old scheduled events 2022-05-30 14:48:46 +00:00
Skillz4Killz 099d4f4d49 fix(tests): migrate scheduled events tests 2022-05-30 14:48:23 +00:00
Skillz4Killz 34a38b0124 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-05-29 17:56:44 +00:00
Skillz4Killz e34a265ba4 fix(test): migrate message related unit tests 2022-05-29 17:56:41 +00:00
ITOH c7eb3a9b0c hotfix: release: 13.0.0-rc45
Fixed:
 - startBot shard data calculation
 - propper handling for websocket close code 1000

Changed:
 - shard shutdown code to 3000
13.0.0-rc45
2022-05-29 18:22:56 +02:00
ITOH 144e651259 release: 13.0.0-rc44
Fixed:
 - lastShardId & totalShards when starting a bot without pre-set `gatewayBot` information
Removed:
 - Debug handling of close code 1000 for shards
13.0.0-rc44
2022-05-29 17:47:40 +02:00
ITOH d50be0834e fix(gateway,bot): socket close debug handling & last/totalShards (#2261) 2022-05-29 17:39:27 +02:00
Skillz4Killz 23377aecab fix(tests): add first message unit test 2022-05-29 15:29:00 +00:00
Skillz4Killz 81d9577269 fix: local tests stop existing plz 2022-05-29 15:13:32 +00:00
Skillz4Killz 36c3b15f2b fix: deno fmt is trash 2022-05-29 15:10:20 +00:00
Skillz4Killz 8e0853395c fix: itoh wanted more comments 2022-05-29 15:08:11 +00:00
Skillz4Killz e15ca075c9 fix(tests): move emoji tests to guild stuff cuz rate limits 2022-05-29 14:59:50 +00:00
Skillz4Killz 24e4ca8e2e fix(tests): fix broken threads assertion 2022-05-29 14:55:33 +00:00
Skillz4Killz 5e492f0d49 fix(helpers): editGuild options spread out 2022-05-29 14:54:54 +00:00
Skillz4Killz 05ba25b23f fix(helpers): getGuild bug on guild doesnt exist 2022-05-29 14:54:22 +00:00
Skillz4Killz d6a8f757ae fix: cleanup bad tests code 2022-05-29 14:53:51 +00:00
Skillz4Killz ff1f7f7114 fix: add proxy rest for unit tests 2022-05-29 14:53:28 +00:00
Skillz4Killz 5379a2b8ce fix(fmt): i hate deno fmt 2022-05-28 13:40:09 +00:00
Skillz4Killz 0aff36afbe fix(utils): add hasProperty back. 2x faster than Reflect.has 2022-05-28 13:39:46 +00:00
Skillz4Killz 28974f2497 fix(utils): remove hasProperty. Unused function 2022-05-28 13:28:11 +00:00
Skillz4Killz be51508245 fix(fmt): deno fmt dumby 2022-05-28 13:19:48 +00:00
Skillz4Killz 05b86d2ea3 fix(tests): migrate invite related tests 2022-05-28 13:19:34 +00:00
Skillz4Killz 8a76cdac0f Merge branch 'main' of https://github.com/discordeno/discordeno into main 2022-05-28 13:07:40 +00:00
Skillz4Killz 7db661180f fix(tests): migrate guild url unit tests 2022-05-27 22:55:51 +00:00
ITOH 1423df5b8d release: 13.0.0-rc43 13.0.0-rc43 2022-05-27 23:51:58 +02:00
ITOH 24f7718566 feat!: make createBot sync (#2255) 2022-05-27 23:50:39 +02:00
Skillz4Killz 10dff1ca50 fix(tests): migrate emoji related unit tests 2022-05-27 23:50:38 +02:00
Skillz4Killz 19ff286a6d fix: rate limited unit tests from createBot async 2022-05-27 23:50:37 +02:00
Skillz4Killz 8eeb975161 fix: remove confusion, old examples 2022-05-27 23:50:37 +02:00
ITOH 4d3a01d314 release: 13.0.0-rc42
Fixed:
 - pass intents to `gatewayConfig` in the `createBot` function
2022-05-27 23:48:18 +02:00
Skillz4Killz 08b56e0a19 fix(tests): migrate emoji related unit tests 2022-05-27 18:44:49 +00:00
Skillz4Killz 3e4e41067d fix: rate limited unit tests from createBot async 2022-05-27 18:11:25 +00:00
Skillz4Killz 47d3c29dad fix: remove confusion, old examples 2022-05-26 12:55:45 +00:00
ITOH 89c80ed236 release: 13.0.0-rc42
Fixed:
 - pass intents to `gatewayConfig` in the `createBot` function
13.0.0-rc42
2022-05-25 23:05:40 +02:00
ITOH c4ba54e4ee fix(bot): pass intents to gatewayConfig (#2253) 2022-05-25 23:05:05 +02:00
ITOH b5acaf11ad release: 13.0.0-rc41
Too many changes to write changelog, please ask in the Discord.
13.0.0-rc41
2022-05-25 22:42:24 +02:00
Reboot-Codes 0986fa9704 More BigBot Fixes (#2233)
* Add `.DS_Store` to `.gitignore`

* Format and improve DX.

* Add extra logging and fix gateway workers.

* Deno fmt.

* Be more explicit in `.env.example`.

* Add a `watch-bot` task and format.

* Deno FMT

* Deno FMT (all `template/bigbot` files)

Co-authored-by: ITOH <to@itoh.at>
2022-05-25 22:33:49 +02:00
LTS20050703 2018919fe2 feat(rest,types): slash command permissions v2 (#2226)
* Slash command perms v2

Closes: #2184
Upstream: discord/discord-api-docs@4a3b20a

- Nuke batchEditApplicationCommandPermissions (https://discord.com/developers/docs/interactions/application-commands#batch-edit-application-command-permissions)
- update JSDocs Comments (like, a lot, probably will revert unnecessary comments changes next commit)
- Add id to upsertApplicationCommands options

* fix typos

Co-authored-by: ITOH <to@itoh.at>

* docs: add regex to application command `name`

Co-authored-by: ITOH <to@itoh.at>
2022-05-25 22:32:47 +02:00
ITOH b469c98527 refactor(gateway,types,util)!: finalize gateway code (#2241)
* push some cursed stuff

* bucket

* fix bugs and hack start ordered

* some management improvements

* more gw stuff

* f

* rename manager to gateway

* remove basic thing

* remove old stuff

* f

* fix imp

* fixes
2022-05-25 22:27:49 +02:00
ITOH b00504ce07 perf(plugins/helpers,rest,site,template)!: uppercase rest methods (#2252)
* perf(plugins/helpers,rest,site,template)!: uppercase rest methods
There is no need for us to pass the methods in lower case and then use the `toUpperCase()` method everywhere. Therefore this PR changes every lowercase method to be uppercase (eg. `"get"` => `"GET"`).

* template is old version
2022-05-25 20:45:51 +02:00