Commit graph

276 commits

Author SHA1 Message Date
CyberKnight007
620299462e fixed some weird sheez 2020-12-01 20:03:05 +05:30
CyberKnight007
62c18886ca vsc acting weird -_- 2020-12-01 19:59:48 +05:30
CyberKnight007
66c145676e fixed some things 2020-12-01 19:56:53 +05:30
CyberKnight007
c1ec7a7353 feat invite events 2020-12-01 19:45:43 +05:30
DjDeveloperr
b748086ae7 feat(api): add new api-related methods 2020-12-01 16:48:38 +05:30
DjDeveloperr
50d1da11e6 merge main repo 2020-12-01 13:55:34 +05:30
DjDeveloperr
a6697a75a7 feat: void -- start work 2020-12-01 13:54:49 +05:30
Helloyunho
0baa2c2b51 try not to use unknown 2020-11-30 20:11:49 +09:00
DjDeveloperr
6f60bd5040 feat(guildMemberAdd.ts): change unknown to Member 2020-11-28 12:38:14 +05:30
DjDeveloperr
e9490ff777 fix: error 2020-11-28 10:54:36 +05:30
DjDeveloperr
1db6aaac8d fix: errors 2020-11-28 10:51:49 +05:30
DjDeveloperr
1de5692120 feat(almost-everything): a lot of things 2020-11-28 10:44:37 +05:30
DjDeveloperr
c1bce28334 feat(integrations|application): implementation 2020-11-25 18:11:51 +05:30
DjDeveloperr
7cbf1e5151 fix: errors 2020-11-25 17:37:39 +05:30
Helloyunho
be2945c5eb Try to remove those anys (NOT TESTED) 2020-11-25 20:53:40 +09:00
DjDeveloperr
25a5025802 fix(Message): Fix inline replies; feat(RESTManager): handle status codes correctly 2020-11-17 09:05:25 +05:30
DjDeveloperr
86f82715ca feat(Message|TextChannel): inline replies 2020-11-17 08:46:32 +05:30
DjDeveloperr
8d4b8f5842 feat(buildinfo): fix inconsistent browser properties 2020-11-16 17:15:30 +05:30
DjDeveloperr
21bda8d406 fix(lint): add types instead of 'any' 2020-11-16 17:07:42 +05:30
DjDeveloperr
85e79913a4 Check ownerOnly before guildOnly and dmOnly 2020-11-15 15:37:55 +05:30
DjDeveloperr
5bb87ef1ba feat(events:role): added guildRoleCreate, guildRoleDelete, guildRoleUpdate 2020-11-15 15:27:44 +05:30
DjDeveloperr
44303dacb1 feat(events:member): add guildMemberAdd, guildMemberRemove, guildMemberUpdate 2020-11-15 15:18:18 +05:30
DjDeveloperr
943b946e5b feat(events): add messageUpdate 2020-11-15 14:53:24 +05:30
DjDeveloperr
5dbd4a84f5 feat(messages): add message caching and messageDelete event 2020-11-15 14:46:36 +05:30
DjDeveloperr
c92f2e3d49 feat(gateway): add raw event 2020-11-15 13:34:24 +05:30
DjDeveloperr
45673d8197 refactor(events:guildEmojiUpdate): split up into add, delete, update events 2020-11-15 13:29:07 +05:30
DjDeveloperr
e72e702764 feat(command): check required args before executing 2020-11-15 13:12:44 +05:30
DjDeveloperr
18efd1efcc feat(command): improve command events args 2020-11-15 13:08:18 +05:30
DjDeveloperr
7835162fd5 feat(commands): replace texts with events, add whitelisting 2020-11-15 13:02:46 +05:30
DjDeveloperr
f6393c8226 feat(extensions): the beginning 2020-11-11 14:34:49 +05:30
DjDeveloperr
9c9726259b Remove MemberRolesManager#delete 2020-11-09 18:16:51 +05:30
DjDeveloperr
72f0b91643 fix(roles): Member#roles now uses MemberRolesManager instead of Role[] 2020-11-09 16:59:22 +05:30
DjDeveloperr
7ba8978276 feat(REST): Improved Error Handling. Now shows better Errors. 2020-11-09 16:33:57 +05:30
DjDeveloperr
b935bb1238 Implement MessageMentions, mentionPrefix, Blocked Users/Channels/Guilds for Commands, self-bot support 2020-11-09 15:59:16 +05:30
DjDeveloperr
15ff747718 Merge branch 'main' of https://github.com/DjDeveloperr/discord.deno into main 2020-11-09 08:37:52 +05:30
DjDeveloperr
4b7699fe1a Requested changes 2020-11-09 08:36:41 +05:30
Helloyunho
8d97f521da
Merge branch 'main' into main 2020-11-09 09:54:20 +09:00
Helloyunho
6be620201e Add command guild 2020-11-09 01:28:37 +09:00
DjDeveloperr
e6b0e45ff6 Requested Changes (2) 2020-11-08 17:07:35 +05:30
DjDeveloperr
94b33c9c8a Requested Changes 2020-11-08 17:06:30 +05:30
DjDeveloperr
87e1aad7e0 feat(RESTManager): Better Errors 2020-11-08 16:50:11 +05:30
DjDeveloperr
c2e690fe78 Added GuildEmojisManager, Guild#emojis, and refactor RESTManager 2020-11-08 16:40:33 +05:30
DjDeveloperr
7ba21edae2 Fix errors 2020-11-08 14:17:01 +05:30
DjDeveloper
b15c5fb79d
Merge branch 'main' into main 2020-11-08 14:13:45 +05:30
DjDeveloperr
e15177c618 Fix some conflicts 2020-11-08 14:01:00 +05:30
Helloyunho
e5ed54a2dd lint error fix 2020-11-08 17:06:54 +09:00
Helloyunho
cc99b028c6 Oops fix error 2020-11-08 17:04:41 +09:00
Helloyunho
5256f05f04 Change names and format codes 2020-11-08 16:58:24 +09:00
DjDeveloperr
04f2912c3c Fix lint... 2020-11-08 13:27:24 +05:30
Helloyunho
41656e2bfe Lib name change 2020-11-08 16:20:28 +09:00
DjDeveloperr
70824135a7 Fixed Member Caching, Message#member, Member#roles 2020-11-07 18:35:37 +05:30
DjDeveloperr
71c1499c1d Fix lint 2020-11-07 14:46:14 +05:30
DjDeveloperr
071cc4f5ed Added CommandClient! And some improvements and TextChannel#send can be used more easily now 2020-11-07 14:35:14 +05:30
DjDeveloperr
2f560d72e7 Fix lint (2) 2020-11-07 08:23:42 +05:30
DjDeveloperr
7ead2c2ea6 Fix lint 2020-11-07 08:02:14 +05:30
DjDeveloperr
3a3af635c6 Added Intents.None, partial support for selfbot, required changes 2020-11-06 16:12:00 +05:30
DjDeveloperr
4228cd8f52 README Update, remove client from Cache Adapters, clean up test code 2020-11-06 13:57:56 +05:30
DjDeveloperr
e40b7bd544 Immediately Heartbeat on HELLO for non-zero ping initially 2020-11-06 13:33:28 +05:30
DjDeveloperr
f6eaa739ab Added Simplified Intents, and an example 2020-11-06 13:01:53 +05:30
DjDeveloperr
03e3fa7ac8 Fixed lib, really 2020-11-05 09:12:31 +05:30
DjDeveloper
eab1859e24
Rename guildnewsChannel.ts to guildNewsChannel.ts 2020-11-05 08:59:21 +05:30
DjDeveloper
b1916e1c8b
Rename voicestate.ts to voiceState.ts 2020-11-05 08:58:55 +05:30
DjDeveloper
84d0a7b42b
Rename MessageMentions.ts to messageMentions.ts 2020-11-05 08:56:20 +05:30
DjDeveloperr
8517e71811 Fix gatewayCache 2020-11-05 08:52:14 +05:30
yky4589
3391f4820b File Name Change 4 2020-11-05 12:02:33 +09:00
yky4589
fe1d333430 File Name Change 4 2020-11-05 12:02:15 +09:00
yky4589
6228bbd3ce File Name Change #3 2020-11-04 21:43:32 +09:00
yky4589
7e9986bb5f File Name Change #2 2020-11-04 21:39:44 +09:00
yky4589
9e3cd603d9 File Name Change and Extra Edit 2020-11-04 21:38:00 +09:00
AkiaCode
c4fb67c07e
Fix lint & Added reconnect handler 2020-11-04 08:00:03 +09:00
AkiaCode
c9be27ff44
Fix lint 2020-11-04 00:19:20 +09:00
DjDeveloperr
30d0e8a571 More lint error fixes (completed hopefully) 2020-11-03 14:58:40 +05:30
DjDeveloperr
0fed83cb2d Fixed 173 Lint Errors 2020-11-03 14:51:29 +05:30
DjDeveloper
9b37e185b0 Fix errors with merge, fix lint errors 2020-11-03 12:42:22 +05:30
DjDeveloper
5da856a3ad Error Fixes 2020-11-03 10:49:57 +05:30
Helloyunho
2af8e15452
Merge branch 'main' into main 2020-11-03 01:31:10 +09:00
DjDeveloperr
1abd6f2138 Guild#roles, Guild#members, Guild#channels now work. All these are now cached in guildCreate, and deleted in guildDelete. And some new methods to be implemented by CacheAdapter, plus BaseManager#flush was added to flush cache. 2020-11-02 17:38:38 +05:30
DjDeveloperr
04056a7f9c Added Presence 2020-11-02 12:57:14 +05:30
Helloyunho
00baa2759e Fix some lint errors and make more runtime errors(for now) 2020-11-02 15:58:23 +09:00
DjDeveloperr
99630d74cf Some fixes. Working on Child Managers (not added, will continue tomorrow) 2020-11-01 19:12:00 +05:30
DjDeveloperr
79a06f43d7 Some fixes, and fire Ready on Resume 2020-11-01 17:35:22 +05:30
DjDeveloperr
003fadc15a Merge branch 'main' of https://github.com/DjDeveloperr/discord.deno into main 2020-11-01 17:31:15 +05:30
DjDeveloperr
68c3fffd03 Change Channel to TextChannel in messageCreate 2020-11-01 17:22:16 +05:30
Helloyunho
c3c9181133
Merge branch 'main' into main 2020-11-01 20:34:10 +09:00
DjDeveloperr
1c02edb015 RedisCacheAdapter (!), fixed resuming, error code handling, resume event added. Some caching missing yet though 2020-11-01 16:52:09 +05:30
DjDeveloperr
be3bec017c Added messageCreate event, will work on Asynchronous Caching 2020-11-01 12:08:45 +05:30
DjDeveloperr
e8347891d7 Caching fixes, new Managers, improvemnts 2020-10-31 18:30:33 +05:30
AkiaCode
60abf0b845
Change TypesFiles 2020-10-31 21:33:34 +09:00
DjDeveloperr
935456906d RESTManager, CacheAdapters, and improvements 2020-10-31 17:15:33 +05:30
AkiaCode
6ab2b8475d Delete .DS_Store
because I use windows
2020-10-31 20:04:39 +09:00
Helloyunho
f319e0df91 MASSIVE UPDATE NOW WITH EVENTS
Co-Authored-By: Y <8479056+yky4589@users.noreply.github.com>
Co-Authored-By: Aki <71239005+AkiaCode@users.noreply.github.com>
2020-10-30 23:51:40 +09:00
Helloyunho
e899738b55 Has some errors but since we didn't committed so long
Co-Authored-By: Aki <71239005+AkiaCode@users.noreply.github.com>
Co-Authored-By: Lee Hyun <ink0416@naver.com>
Co-Authored-By: khk4912 <30457148+khk4912@users.noreply.github.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
Co-Authored-By: Y <8479056+yky4589@users.noreply.github.com>
2020-10-29 23:43:27 +09:00
Helloyunho
1d067a957c Now we can listen and send event
Co-Authored-By: Aki <71239005+AkiaCode@users.noreply.github.com>
Co-Authored-By: Lee Hyun <ink0416@naver.com>
Co-Authored-By: khk4912 <30457148+khk4912@users.noreply.github.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
Co-Authored-By: Y <8479056+yky4589@users.noreply.github.com>
2020-10-26 02:03:53 +09:00
yky4589
0ed7e64550 수1정 2020-10-25 17:20:11 +09:00
yky4589
abaeb6d966 Hotfix autoInit 2020-10-25 17:18:32 +09:00
yky4589
fedeef916c Accepted Review (Helloyunho) 2020-10-25 17:02:24 +09:00
yky4589
3b8c961758 Fxxking Git Conflict 2020-10-25 15:55:42 +09:00
yky4589
fcdf443b43 leaked.. 2020-10-25 15:55:24 +09:00
yky4589
a883eb55df Oops Server ID leaked 2020-10-25 15:50:47 +09:00
yky4589
55eeb8dd3f Editting Base and User class, Embed etc 2020-10-25 15:50:32 +09:00
yky4589
1bf512bced Editting Base and User class, Embed etc 2020-10-25 15:49:56 +09:00
yky4589
8cf02d2ba4 Edited Base and Tested 2020-10-25 09:15:33 +09:00
yky4589
251e4c482d autoInit, refresh in Base class 2020-10-25 03:11:27 +09:00
Helloyunho
c846bd6f61 Try to make Base class useful
Co-Authored-By: Aki <71239005+AkiaCode@users.noreply.github.com>
Co-Authored-By: Y <8479056+yky4589@users.noreply.github.com>
Co-Authored-By: Lee Hyun <ink0416@naver.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
Co-Authored-By: khk4912 <30457148+khk4912@users.noreply.github.com>
2020-10-25 00:00:42 +09:00
Catry
b7e89ea263 change filenames 2020-10-24 21:27:22 +09:00
Helloyunho
9f9a8d6066 Clean Up Some Codes and Names
Co-Authored-By: Aki <71239005+AkiaCode@users.noreply.github.com>
2020-10-24 21:11:54 +09:00
Helloyunho
1e8475456a Caching, Fetching, and other things
- Make the gateway fetches guilds from Discord response
- Fetch guilds with only ID and client
- Make more types
- Fix lint errors

Co-Authored-By: Y <8479056+yky4589@users.noreply.github.com>
Co-Authored-By: khk4912 <30457148+khk4912@users.noreply.github.com>
Co-Authored-By: Aki <71239005+AkiaCode@users.noreply.github.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
2020-10-24 01:11:00 +09:00
Catry
0c9ab24f39 Add cdn
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
2020-10-23 12:19:40 +09:00
Helloyunho
d091201ead Oops token leak
Don't use leaked token. It doesn't work anyway.
2020-10-23 00:55:42 +09:00
Helloyunho
ca7d143ddc Finally got somewhat working 👍
Co-Authored-By: Aki <71239005+AkiaCode@users.noreply.github.com>
Co-Authored-By: Lee Hyun <ink0416@naver.com>
Co-Authored-By: khk4912 <30457148+khk4912@users.noreply.github.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
Co-Authored-By: Junseo Park <wonderlandpark@callisto.team>
Co-Authored-By: Y <8479056+yky4589@users.noreply.github.com>
2020-10-23 00:50:47 +09:00
Catry
b7896756cd Fix typos
Co-Authored-By: yky4589 <8479056+yky4589@users.noreply.github.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
Co-Authored-By: Aki <akiacode@users.noreply.github.com>
2020-10-22 15:48:43 +09:00
Catry
21b8954a7f Fix Typos
Co-Authored-By: yky4589 <8479056+yky4589@users.noreply.github.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
Co-Authored-By: Aki <akiacode@users.noreply.github.com>
2020-10-22 15:19:30 +09:00
Catry
599997414b Add Types and Finish Endpoints (TODO: ENDPOINT #1)
Co-Authored-By: yky4589 <8479056+yky4589@users.noreply.github.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
Co-Authored-By: Aki <akiacode@users.noreply.github.com>
2020-10-22 15:10:51 +09:00
Choi Minseo
9b34b59b38
Merge pull request #8 from minseo0388/main
Update endpoint.ts
2020-10-22 12:37:37 +09:00
Donghan
0120b4b837 Update endpoint.ts
넌 너무 아름다워서
2020-10-22 12:36:31 +09:00
Choi Minseo
cee9648011
Merge pull request #7 from minseo0388/main
Update endpoint.ts
2020-10-22 12:12:33 +09:00
Donghan
2a1ac14a48 Update endpoint.ts
그림 같은 푸른 빛에 너를 담았네
2020-10-22 12:11:50 +09:00
Choi Minseo
1a32113d19
Merge pull request #6 from minseo0388/main
Update endpoint.ts
2020-10-22 09:28:33 +09:00
Donghan
2249afbd16 Update endpoint.ts 2020-10-22 09:27:57 +09:00
Choi Minseo
445a1552f9
Merge pull request #5 from minseo0388/main
Update endpoint.ts
2020-10-22 09:19:03 +09:00
Donghan
43eca672a1 Update endpoint.ts 2020-10-22 09:17:29 +09:00
Catry
418ff00eb8 Add Emoji, Template, Voice Endpoint and Fix typo 2020-10-22 09:11:46 +09:00
Catry
f41f60beb4 Add Emoji Endpoints 2020-10-22 09:05:23 +09:00
Catry
83567c1b35 Fix typo 2020-10-22 08:53:50 +09:00
Catry
22cd31be1c Add CDN Endpoints 2020-10-22 01:57:03 +09:00
Helloyunho
4b9123f5f6 Project start
Co-Authored-By: Lee Hyun <ink0416@naver.com>
Co-Authored-By: yky4589 <8479056+yky4589@users.noreply.github.com>
Co-Authored-By: Choi Minseo <minseo0388@outlook.com>
Co-Authored-By: Aki <akiacode@users.noreply.github.com>
2020-10-22 01:30:42 +09:00