Commit Graph

135 Commits

Author SHA1 Message Date
ITOH
fb8035c4ef change: move closeWS & sendShardMessage to ws object 2021-05-06 15:28:42 +02:00
Skillz4Killz
b73ad124c8 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-05-06 13:01:14 +00:00
Skillz4Killz
11f6be7092 optimize gh acitons 2021-05-06 13:01:11 +00:00
ITOH
7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
ITOH
8e870ec637 fix the new test 2021-05-05 18:03:34 +02:00
ITOH
1b15d362f0 Merge branch 'main' into change-enums 2021-05-05 18:02:10 +02:00
rigormorrtiss
02eb2de8f2 add(tests): validateSlashCommands (#899)
* test(util): add missing tests for validateSlashCommands()

* Summarize the name of the test suites

* Add more tests

* Concise and correct the suite name
2021-05-05 14:26:10 +01:00
ITOH
aefd5c75f5 fix changes 2021-05-04 21:05:43 +02:00
ITOH
c60422a23f Merge branch 'main' into threads 2021-05-04 17:45:38 +02:00
ITOH
0e4c3481b2 all are false anyways 2021-05-03 23:00:39 +02:00
ITOH
6adf0b5359 i guess remove 2021-05-03 22:59:56 +02:00
ITOH
2ffec5b09f Update channel_overwrite_has_permission.ts 2021-05-03 22:58:43 +02:00
ITOH
8f680fb936 Merge branch 'main' into threads 2021-05-03 21:52:58 +02:00
Skillz4Killz
3d2535180d fix broken tests 2021-05-03 18:52:57 +00:00
ITOH
f91bf2871f Merge branch 'main' into threads 2021-05-03 20:50:53 +02:00
ITOH
9be445a2e8 now takes bigint 2021-05-03 20:19:38 +02:00
Skillz4Killz
3d39b3878a change: ids to use bigint instead of string (#892)
* p1 of bigints change

* shtuff fixes and bits

* Commit from GitHub Actions (Lint)

* finish bigint structs

* typings fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* blame wolf

* Commit from GitHub Actions (Lint)

* foxed

* Commit from GitHub Actions (Lint)

* fix unit tests

* Commit from GitHub Actions (Lint)

* change: guildUpdate guild ID can't change

* delete server has been renamed to delete guild

* fixes

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-05-03 18:05:18 +01:00
ITOH
5240981d61 this too 2021-05-02 21:36:36 +02:00
ITOH
81e70dc4ff guild id has been removed 2021-05-02 21:34:18 +02:00
ITOH
eda4895da3 more fixxes 2021-05-01 18:42:46 +02:00
Skillz
8a42bc71cb fix broken import 2021-05-01 11:08:57 -04:00
ITOH
5a526c809b to an option object 2021-04-30 18:57:44 +02:00
ITOH
ce5f890973 change removeUserReaction tests 2021-04-30 15:32:08 +02:00
ITOH
8c347747dd delete: removeUserReaction 2021-04-30 15:22:48 +02:00
ITOH
c50fb39b42 deleteServer to deleteGuild 2021-04-30 15:01:32 +02:00
ITOH
f684e4f180 add missing import 2021-04-20 18:00:53 +02:00
ITOH
92ab2885fa add tests 2021-04-20 17:26:58 +02:00
ITOH
31245dd637 Update mod.ts 2021-04-17 15:33:44 +02:00
ITOH
9f4cd812f6 add test 2021-04-17 15:33:29 +02:00
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