Commit Graph

5082 Commits

Author SHA1 Message Date
Skillz4Killz
1d5bd0db52 Merge branch 'main' of https://github.com/discordeno/discordeno into node-migration-clean 2023-02-20 19:45:34 +00:00
Skillz4Killz
d2c37bf9f9 fix: cleaner readme 2023-02-20 19:33:32 +00:00
Skillz4Killz
20ac45810a fix: timeout bug 2023-02-20 15:01:44 +00:00
Skillz4Killz
81cd320495 fix: remove invalid todo 2023-02-20 02:21:13 +00:00
Andreas Fink
f6a5942f60 fix(rest): add interface RestRequestRejection (#2782) 2023-02-19 19:55:29 -06:00
Skillz4Killz
3264b4e9fc fix: use node:events to import 2023-02-20 01:52:50 +00:00
Skillz4Killz
6094985396 fix: more bugs 2023-02-19 15:12:06 +00:00
Skillz4Killz
d2dfd3264f fix: generate interaction usage 2023-02-19 15:05:27 +00:00
Skillz4Killz
7fee7aa2b3 fix: remove ThreadChannel from GuildChannel 2023-02-19 15:03:24 +00:00
Skillz4Killz
66c56a11a3 fix: cleanup shard and circular deps 2023-02-19 14:57:44 +00:00
Skillz4Killz
4fca42f4f0 fix: broken util import for image url 2023-02-19 14:32:19 +00:00
Skillz4Killz
d525fba8c9 snaker 2023-02-19 06:26:04 +00:00
Skillz4Killz
0f13cb4d5f fix: remove old pkg 2023-02-19 04:53:07 +00:00
Skillz4Killz
96ecfccf2f fix: client errors 2023-02-19 04:52:44 +00:00
Skillz4Killz
8adb744050 fix: lots of errors 2023-02-16 07:58:16 +00:00
Skillz4Killz
7153262998 fix: rest resolve sends status and body 2023-02-16 02:39:32 +00:00
Skillz4Killz
fbd26f4d04 fix: add logs to gateway manager 2023-02-15 23:15:57 +00:00
Skillz4Killz
0e03fcc14c fix: remaining helpers 2023-02-14 22:30:58 +00:00
Skillz4Killz
6f3eb70712 fix: more helpers 2023-02-14 21:42:58 +00:00
Skillz
5732fdc278 get message typeguards 2023-02-13 16:33:01 -06:00
Skillz
9806cff021 fix: typos 2023-02-13 16:21:45 -06:00
Skillz
4f3227cc61 image urls 2023-02-13 16:19:55 -06:00
Skillz
e6dbefe140 voie states editing 2023-02-13 15:50:18 -06:00
Skillz
66416c8bf3 mfa level 2023-02-13 15:19:48 -06:00
Skillz
a4bf82fb07 fix: reaction related helpers 2023-02-13 14:53:14 -06:00
Skillz
1c3819b10a feat: deleteMessages 2023-02-13 14:08:06 -06:00
Skillz
2dafa8f5f8 fix: remove aliases and add createGuildFromTemplate 2023-02-13 13:54:41 -06:00
Skillz
5b2001586b fix: linters issues 2023-02-13 13:17:39 -06:00
Skillz
ff6dcb11dd feat: connectToVoice 2023-02-13 13:12:47 -06:00
Skillz
00f8a904cf feat: addReaction & addReactions 2023-02-13 12:57:06 -06:00
Mohammed Taha
1a717ddc7d [📜 Docs] Fix grammar issues (#2779)
* Update getting-started.md

* Update frequently-asked-questions.md

* Update getting-started.md
2023-02-13 12:22:05 -06:00
Jonathan Ho
84295907d5 test(utils): add test (#2764)
* test(utils): remove old test

* test(utils): add color test

* test(utils): fix import mocha

* test(utils): fix test type error

* test(utils): remove dev code

* fix(utils): bucket not export all function

* test(utils): add some test for bucket

* fix(utils): close #2775

* test(utils): add test for permissions.ts

* test(utils): fix missing mocha import

* fix(utils): better fix for #2775
2023-02-10 12:35:38 -06:00
Jonathan Ho
da1660fc1c test(all): add test importing index (#2774)
* test(all): add test importing index

* chore: remove old benchmark dir

* chore: disable coverage status fail

* test(client): add import test with try catch

* test(rest): fix narrow import scope
2023-02-09 09:45:01 -06:00
Yaikava
23bd418d67 📚 - docs: fix README package links (#2773) 2023-02-09 09:44:14 -06:00
Jonathan Ho
f6bd769235 chore: update readme (#2772)
* chore: add coverage per pkg

* chore: add npm version

* chore: add test status

* chore: fix ci

* chore: fix ci

* ci: fix ci needs

* chore: add only push event

* style: remove import logger
2023-02-08 08:53:23 -06:00
Matthew Hatcher
39939d472d fix: await importDirectory call (#2770)
await importDirectory to ensure all recursive calls inside the function are completed before calling fileLoader
2023-02-06 13:28:21 -06:00
Skillz4Killz
08e21bad51 fix: bot logger (#2769)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

* fix: dont send heartbeat if socket is not open

* fix: remove logs

* fox: remove more logs

* fix some bugs in role tests

* Switch to after hook style

* hoti's speed snaker

* auto convert objects for discord

* Fix code style issues with ESLint

* fix: remove dup imports

* fix: i hate linters

* speeder

* fix: tests delete guilds

* Fix code style issues with ESLint

* fix: easier to provide custom intents in bot

* fix: shutdown bot after test

* fix: add getGuild

* fix: multiple guild delete attempts

* fix: add emoji e2e tests

* fix: remaining old e2e rest tests

* Fix code style issues with ESLint

* fix: add bot.logger

* fix: make logger name capital

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-05 11:17:31 -06:00
Skillz4Killz
10ce47c49a Update release.yml (#2768) 2023-02-05 11:12:40 -06:00
Jonathan Ho
4451608dfa test: add gateway integration test (#2756)
* test: add gateway integration test

* test(gateway): fix connection test

* test(gateway): add heartbeat test

* ci: add integration test

* fix: add uWebSockets.js

* ci: add timeout

* test(utils): remove old test

* Revert "test(utils): remove old test"

This reverts commit 04fb6dd4b5.

* test(gateway): fix uws server

* test(gateway): fix type

* chore: update codecov flag

* test(gateway): remove dev code

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-02-05 10:58:40 -06:00
Skillz4Killz
2b127951ae fix: more rest e2e tests (#2763)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

* fix: dont send heartbeat if socket is not open

* fix: remove logs

* fox: remove more logs

* fix some bugs in role tests

* Switch to after hook style

* hoti's speed snaker

* auto convert objects for discord

* Fix code style issues with ESLint

* fix: remove dup imports

* fix: i hate linters

* speeder

* fix: tests delete guilds

* Fix code style issues with ESLint

* fix: easier to provide custom intents in bot

* fix: shutdown bot after test

* fix: add getGuild

* fix: multiple guild delete attempts

* fix: add emoji e2e tests

* fix: remaining old e2e rest tests

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-03 16:17:22 -06:00
Jonathan Ho
4d0b7b2c6c chore: fix script and update import map (#2761)
* chore: fix version script

* chore: update import map

* chore: fix ws import map

* chore: fix deno import map

* test: fix
2023-02-02 12:03:19 -06:00
Jonathan Ho
a9703f714c ci/test: fix bot pkg e2e test (#2759) 2023-02-02 11:14:22 -06:00
Jonathan Ho
209c4b8847 chore: fix deps (#2757) 2023-02-02 10:13:00 -06:00
Skillz4Killz
6ac77b5504 fix: delete guilds test (#2758)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

* fix: dont send heartbeat if socket is not open

* fix: remove logs

* fox: remove more logs

* fix some bugs in role tests

* Switch to after hook style

* hoti's speed snaker

* auto convert objects for discord

* Fix code style issues with ESLint

* fix: remove dup imports

* fix: i hate linters

* speeder

* fix: tests delete guilds

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-02 10:10:44 -06:00
Skillz4Killz
9d5b8df60d e2e test stuff (#2754)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

* fix: dont send heartbeat if socket is not open

* fix: remove logs

* fox: remove more logs

* fix some bugs in role tests

* Switch to after hook style

* hoti's speed snaker

* auto convert objects for discord

* Fix code style issues with ESLint

* fix: remove dup imports

* fix: i hate linters

* speeder

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-01 14:20:49 -06:00
Jonathan Ho
e05a65c4de ci: add bot package (#2752)
* ci: add bot package

* ci: fix test
2023-01-31 13:12:40 -06:00
Skillz4Killz
7658ebbeb4 fix: guild and role methods (#2751)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-01-30 20:00:09 -06:00
Skillz4Killz
38802b1c34 fix: rest sending attachments files (#2749)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-01-29 15:58:36 -06:00
Skillz4Killz
f5f97e0e59 fix: e2e exit bug (#2748)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-01-29 00:14:31 -06:00
Skillz4Killz
de31b44dba fix: interaction followup type (#2747)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-01-28 20:48:21 -06:00