Commit Graph

75 Commits

Author SHA1 Message Date
ayntee
1cbc1b8f82 fmt files damn son 2021-04-12 23:13:37 +04:00
Skillz4Killz
a741e721f3 fix: more missing typings and remove swap roles 2021-04-12 18:35:24 +00:00
Skillz4Killz
b7a2b0ed55 tests: add deleting channel overwrites test (#828) 2021-04-12 07:04:30 +01:00
TriForMine
5e6d749ffa tests: add roles tests (#822) 2021-04-11 19:41:15 +01:00
Skillz4Killz
b357a5fb04 tests: add channel create with perms test (#825) 2021-04-11 19:40:56 +01:00
Skillz4Killz
b12b1c7712 Merge pull request #818 from TriForMine/embed-reply-test
tests: add reply and embed message test
2021-04-11 08:33:33 -04:00
TriForMine
73c81e9436 tests: add emojis tests 2021-04-11 14:16:45 +02:00
TriForMine
cdba34a93d tests: add message.reply() test 2021-04-11 13:57:22 +02:00
TriForMine
337dc9fe44 tests: add reply and embed message test 2021-04-11 13:51:30 +02:00
TriForMine
309785f847 fix(test): delayUntil use setTimeout instead of while loop & addReaction test (#817)
* fix: guild create tests
* fix(test): use setTimeout instead of while loop and fix some tests
* fix(test): fix some test and fix maxMs

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2021-04-11 10:44:01 +01:00
Skillz4Killz
5d20c1c638 fix(helpers/guilds): createGuild not caching the guild (#814) 2021-04-11 10:27:57 +01:00
TriForMine
1b952b6713 fix(tests): higher max delay 2021-04-10 23:58:36 +02:00
TriForMine
aae106ab71 fix(tests): higher max delay 2021-04-10 23:54:56 +02:00
TriForMine
0739826e7a tests: use delayUntil instead of delay 2021-04-10 23:37:24 +02:00
Skillz4Killz
e163e2d109 fix: reaction remove tests (#811) 2021-04-10 22:03:32 +01:00
TriForMine
12e21084a6 fix(tests): fix reactions tests 2021-04-10 20:24:38 +02:00
Skillz4Killz
66b0aa3685 tests: add channel tests (#807) 2021-04-10 14:38:58 +01:00
Skillz4Killz
fd724ffa01 Merge pull request #802 from TriForMine/main
tests: add all messages tests
2021-04-10 08:41:28 -04:00
Skillz4Killz
82429a1e7d fix: try deleting guilds if (#801) 2021-04-10 10:05:16 +01:00
Skillz4Killz
91114a62c2 fix: category children (#800) 2021-04-10 10:01:50 +01:00
TriForMine
63675aa818 tests: add all messages tests 2021-04-10 10:54:30 +02:00
TriForMine
69b8fe4545 Deno fmt 2021-04-10 08:03:48 +02:00
TriForMine
e9ac9b3c3c tests: add multiple reactions and delete multiple messages tests 2021-04-10 08:02:58 +02:00
TriForMine
78e5faab6b tests: react with custom emojis tests 2021-04-10 00:36:31 +02:00
TriForMine
889eb2e16c tests: add add_reaction test 2021-04-10 00:20:05 +02:00
TriForMine
3fc62b9572 tests: add create/delete/edit message tests (#787)
* tests: add create/delete/edit message tests

* Use sleep instead of delay

* Deno fmt

* Add getters to message tests

* Change back to delay

* Deno fmt

* Use function in tests

* Deno fmt
2021-04-09 21:06:12 +01:00
Skillz4Killz
00a0d04b14 remove assert equals 2021-04-09 17:42:29 +00:00
Skillz4Killz
8b5e39f796 deno fmt 2021-04-09 17:35:34 +00:00
Skillz4Killz
a44f968745 tests: add deleteChannel tests 2021-04-09 17:20:41 +00:00
Skillz4Killz
46fb1c530f use default options 2021-04-09 16:07:11 +00:00
Skillz4Killz
af997afc14 missing awaits 2021-04-09 15:57:46 +00:00
Skillz4Killz
a297775144 validate cached guild 2021-04-09 15:34:59 +00:00
Skillz4Killz
8e1b119e6c remove unneded import 2021-04-09 15:15:27 +00:00
Skillz4Killz
9c53a67dd3 fix: rest method uppercase 2021-04-09 14:41:31 +00:00
Skillz4Killz
30e5f3ae22 removelogs 2021-04-09 13:12:19 +00:00
Skillz4Killz
03631e3c6e refactor: base complete for unit tests 2021-04-09 12:46:38 +00:00
ayntee
e69d4ac78b ci: another attempt to fix CI 2021-01-15 19:46:05 +04:00
Ayyan
30da6a750d test(message): add missing tests (#371)
* test(message): add missing tests

* Add todo comment
2021-01-15 16:47:19 +04:00
ayntee
5307f0c5f2 Revert "test: attempt to fix "Token not provided" error (#384)"
This reverts commit 6f21de2a3a.
2021-01-15 15:21:41 +04:00
Ayyan
6f21de2a3a test: attempt to fix "Token not provided" error (#384)
* test: fix "Token not provided" error

* idk wtf

* Revert "idk wtf"

This reverts commit 26063aa127.

* https://open.spotify.com/track/3ZWc3Bm8eUMRRJhSWKHHeV 🔥🔥
2021-01-15 15:03:54 +04:00
Ayyan
823b9d2cef refactor(tests): separate tests into categories (#369)
* refactor(tests): seperate tests into categories

* idk
2021-01-11 19:09:56 +04:00
Ayyan
e5a8f3b358 chore: setup "deno lint" (#331)
* chore: setup "deno lint"

* ci(lint): add --unstable flat to lint script

* lint

* lint

* refactor: destructure assignment for Message#guildID

* chore: remove TODO comment

* refactor: remove redundant async

* chore: switch to Deno stable vscode ext

* chore: remove ignore comments

* chore: remove ignore comments

* chore: remove @ts-ignore comment

* fixes

* fixes

* chore: remove deno-lint-ignore comment

* chore: add index signature
2021-01-03 20:12:42 +04:00
ayntee
b67f8f5f3d fix: update import paths 2020-12-27 11:18:47 +04:00
Ayyan
e49a23687e refactor!: organize directories and files (#268)
* refactor!: organize directory structure

* fix: avoid stack overflow err

* chore: swtch back to std/encoding for base64

* style: format source files
2020-12-22 21:26:27 +04:00
ayntee
fffa2a078f style: format source files 2020-11-19 15:12:15 +04:00
Skillz
ee02205c80 fixes 2020-11-18 15:12:05 -05:00
Skillz
a8c74c82e5 fixing tests and perm check bug 2020-11-18 13:08:47 -05:00
Skillz
ff3f33b285 permissions => permission 2020-11-18 12:21:45 -05:00
Skillz
65e04f656f Merge branch 'master' of https://github.com/Skillz4Killz/Discordeno into next 2020-11-18 10:11:40 -05:00
Skillz
041e666868 fix tests going tooo fast 2020-11-18 09:32:38 -05:00