Commit Graph

106 Commits

Author SHA1 Message Date
ITOH
c825dbf0a7 fix delayutil 2021-04-15 19:59:09 +02:00
ITOH
98bf292aff fix lint 2021-04-15 18:06:31 +02:00
Skillz4Killz
3715407c14 Merge pull request #858 from existentiality/main
feat: implement channel cloning
2021-04-15 11:53:22 -04:00
ITOH
8c52abce7f add closeWS function 2021-04-15 16:46:44 +02:00
ITOH
2c97964f0f heartbeat change 2021-04-15 14:25:26 +02:00
ITOH
28ff1574d8 use setTimeout for heartbeat in favour of first random interval 2021-04-15 10:40:07 +02:00
Exists
3133e1015d Fix test name
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2021-04-14 14:03:01 -05:00
Exists
c7a21b7a84 Formatting 2021-04-14 14:28:44 -04:00
Exists
3b41656c09 Rework channel clone tests
- Removed previous channel clone test
- Copied over create channel tests and modified `ifItFailsBlameWolf` to check against a clone instead of created
2021-04-14 14:14:37 -04:00
Exists
215141171a Fix formatting (deno fmt) 2021-04-14 13:09:47 -04:00
Exists
bfb3502252 Fix Linting Issue 2021-04-14 04:09:00 -04:00
Exists
1a1ef34a96 Add channel cloning
Changes:
    - Added function cloneChannel
    - Modified createChannel to support cloneChannel
   - Added clone(reason) method on channel structure
    - Added channel cloning tests
2021-04-14 04:01:35 -04:00
TriForMine
d3e5f537d3 tests: add invites tests (#855)
* tests: add invites tests

Co-authored-by: TriForMine <TriForMine@users.noreply.github.com>
2021-04-14 08:26:39 +01:00
Skillz4Killz
dc9615bb8a feat: slash dm (#846)
* chore: cleanup comments

* feat: slash in dm and better event args

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
2021-04-13 18:28:31 +01:00
Skillz4Killz
d746622681 feat: add validateLength util 2021-04-13 16:45:39 +00:00
TriForMine
e90fbac193 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:41 +02:00
TriForMine
331f63563e Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:34 +02:00
TriForMine
951d5668fc Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:28 +02:00
TriForMine
2651f7e47a Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:23 +02:00
TriForMine
ee15c0ef1e Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:18 +02:00
TriForMine
9d112ed585 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:12 +02:00
TriForMine
47d8e2b19f Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:05 +02:00
TriForMine
357ab24875 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:48 +02:00
TriForMine
c32fa4ec34 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:43 +02:00
TriForMine
7b53f5fe85 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:37 +02:00
TriForMine
f103c733f4 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:27 +02:00
TriForMine
18a20f0cbf Update tests/channels/channel_overwrite_has_permission.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:16 +02:00
TriForMine
a881f6b17c 2021-04-13 11:47:36 +00:00
TriForMine
b7fd8b6ee7 fix(tests): fix typescripts errors 2021-04-13 13:42:36 +02:00
itohatweb
5afa6f2c13 2021-04-13 07:26:23 +00:00
TriForMine
174ec859f1 tests: add channels types (#840) 2021-04-13 08:26:07 +01:00
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