Commit Graph

249 Commits

Author SHA1 Message Date
Radoslaw Partyka 6c3f71669d awaitAvailability is awaitAvailability now instead of awaitAvailiable 2021-01-01 16:55:27 +01:00
Radoslaw Partyka c322c25fb0 awaitAvailability in guild struct 2021-01-01 16:54:33 +01:00
Radoslaw Partyka 6e8af1f7da Removing redundant code from guild struct 2021-01-01 16:27:30 +01:00
DjDeveloperr c3fafdfcf0 more things 2021-01-01 11:25:23 +05:30
DjDeveloperr b344c2e24a fix: Guild#chunk 2021-01-01 10:18:18 +05:30
DjDeveloperr df66f4ea3e Merge remote-tracking branch 'origin/main' into slash 2020-12-31 10:38:24 +05:30
DjDeveloperr 7a2b71b648 feat: full invite support 2020-12-31 10:37:40 +05:30
Helloyunho e1a8a8526a
Merge branch 'main' into main 2020-12-29 15:30:41 +09:00
DjDeveloper 205f88281b
Merge pull request #77 from ayntee/role-struct
feat: add Role#tags prop
2020-12-29 11:42:52 +05:30
Fishuke 36e174a50a fix JSDoc 2020-12-29 00:44:51 +03:00
Ayyan e37e0c3885
Update role.ts 2020-12-28 12:18:09 +04:00
ayntee 93eee2f15d I have no idea what I am doing x2 2020-12-26 11:12:06 +04:00
ayntee 4cf153aaac I have no idea what I am doing 2020-12-26 11:09:09 +04:00
ayntee 900f6c3c3b Make linter happy 2020-12-26 11:07:33 +04:00
ayntee 95c2200386 Make DjDev happy 2020-12-26 11:05:26 +04:00
ayntee 678e988aec Remove redundant null assertion 2020-12-26 10:38:20 +04:00
ayntee 0a066a32e4 Goddamn it, i gotta install prettier plugin on vim 2020-12-26 10:36:52 +04:00
ayntee a14104ad14 Github online editor FTW 2020-12-26 10:36:09 +04:00
ayntee a69988b653 ci: add Emoji#id check 2020-12-26 10:34:15 +04:00
ayntee 73e9ba9a25 fix: DELETE request instead of PATCH 2020-12-26 10:17:54 +04:00
ayntee 6c576bec0a chore: implement role resolution internally 2020-12-26 10:11:26 +04:00
Helloyunho 4129ea699b
Fix mistake 2020-12-26 12:07:15 +09:00
Helloyunho 65b5c50ec3
Merge branch 'main' into reaction 2020-12-26 12:04:59 +09:00
DjDeveloper d46cd0cbe5
Merge pull request #67 from DjDeveloperr/slash
feat: HTTP based Slash Commands util
2020-12-26 08:24:38 +05:30
DjDeveloper 31b3c08580
Merge pull request #70 from ayntee/sep-deps
deps: segregate third-party deps to deps.ts file
2020-12-26 08:18:09 +05:30
DjDeveloper 6be099398f
Merge pull request #76 from ayntee/ref
refactor: move snowflake.ts to utils
2020-12-26 08:16:42 +05:30
DjDeveloper 523fc432e9
Merge pull request #75 from ayntee/invite-methods
feat: add Invite#delete() method
2020-12-26 08:15:09 +05:30
DjDeveloper 3a80e162c0
Merge pull request #69 from ayntee/guild-template
feat: add template structure and methods
2020-12-26 08:08:05 +05:30
ayntee 1e753cf51d feat: add Role#tags prop 2020-12-25 22:29:26 +04:00
ayntee f2ee69c130 refactor: move snowflake.ts to utils 2020-12-25 20:47:23 +04:00
ayntee 104aa4249e chore: consistent return type 2020-12-25 20:45:21 +04:00
ayntee e919ad38de feat: add Invite#delete() method 2020-12-25 20:44:05 +04:00
ayntee 6dd40afd3e Make linter happy :) 2020-12-25 20:41:21 +04:00
ayntee bef4d45a40 style: format files 2020-12-25 20:38:43 +04:00
ayntee f3fa4ca380 fix: remove type "null" from Emoji#id 2020-12-25 20:38:06 +04:00
ayntee 6c6334ee07 fix: add Emoji#guild property back 2020-12-25 20:36:23 +04:00
ayntee c59d8f1639 style: format structures/emoji.ts 2020-12-25 20:33:45 +04:00
ayntee 9c048686c8 feat(structures): add Emoji methods 2020-12-25 20:31:53 +04:00
Helloyunho 4ab29bc91c Merge branch 'main' of https://github.com/Helloyunho/harmony into reaction 2020-12-25 22:14:19 +09:00
Helloyunho 65eace4046 Update message and textchannel 2020-12-25 22:09:29 +09:00
ayntee 0a14264b0e deps: segregate third-party deps to deps.ts file 2020-12-25 15:47:24 +04:00
ayntee b76c26ff7c docs: capitalize props' description 2020-12-25 15:20:48 +04:00
ayntee be662a230b chore: add return type and handle raw API payload 2020-12-25 14:59:24 +04:00
ayntee d1fcce7b83 feat: add template structure and methods 2020-12-25 14:21:01 +04:00
Helloyunho 540f3b1877 Support removing other user's reactions 2020-12-25 13:44:42 +09:00
Helloyunho eac5d52d83 Handle null-id emojis 2020-12-24 09:59:32 +09:00
Helloyunho 9e6d2c1047 Add reactions 2020-12-24 09:37:57 +09:00
DjDeveloperr 94a447921d feat: member screening types update 2020-12-22 15:40:19 +05:30
Helloyunho 9688d248e3 Add edit channel feature 2020-12-20 18:11:37 +09:00
Helloyunho d7f4b244c1 Add Sticker Feature 2020-12-17 10:20:06 +09:00
DjDeveloperr 999fe88aa4 feat(slash): complete types 2020-12-16 16:12:52 +05:30
DjDeveloperr 844a408c74 export SlashModule 2020-12-15 11:08:37 +05:30
DjDeveloperr 3dcf57c658 feat(slash): add SlashModule and sub command support 2020-12-12 17:57:35 +05:30
DjDeveloperr e6be50cdc7 fix 2020-12-11 15:47:33 +05:30
DjDeveloperr 97fce78953 feat(slash): try add new methods 2020-12-11 15:47:05 +05:30
DjDeveloperr bb662267cb feat(slash): add temp?: boolean 2020-12-10 16:12:03 +05:30
DjDeveloperr 6e014b353e feat(slash): many new things 2020-12-10 12:25:52 +05:30
DjDeveloperr d14fe15d68 feat: slash commands 2020-12-10 10:06:36 +05:30
DjDeveloperr 91c07e551e feat(gateway): option to customize client props 2020-12-09 10:48:39 +05:30
DjDeveloperr 1119379fb5 fix: nightly build failing 2020-12-06 13:15:38 +05:30
DjDeveloperr 97d6f3fd05 fix(lint) 2020-12-06 13:13:41 +05:30
Helloyunho 4db6203650
Merge pull request #53 from noamboy2006/main
fix: minor grammar/typo fixes in comments
2020-12-05 18:37:34 +09:00
DjDeveloperr f6c307844f feat(voice): add Gateway#updateVoiceState, VoiceChannel#join, VoiceChannel#leave 2020-12-05 14:26:43 +05:30
Helloyunho a66a18cdc0 Run formatter 2020-12-05 16:20:08 +09:00
Helloyunho c3d025529d Remove other mentions in Message
We already have MessageMentions class, which handles all mentions.
2020-12-05 16:19:51 +09:00
noamboy2006 43d013b62d lint errors/typos 2020-12-05 11:39:37 +09:00
noamboy2006 fe6930c065 miner grammer/typo fixes is comments. Changed all comments I can find to consider method as a singular noun, tho I might missed a few comments 2020-12-05 11:24:08 +09:00
DjDeveloper a427c8887d
Merge branch 'main' into main 2020-12-04 14:32:32 +05:30
minibox24 84c106655c .webp => .png 2020-12-04 17:57:59 +09:00
DjDeveloperr dfb99fb6b9 fix(gateway): handle reconnects better way 2020-12-04 11:23:10 +05:30
Preta-Crowz 1b6d4469bc fix ban feature 2020-12-04 11:33:15 +09:00
minibox24 e553888c1c delete dynamic arg 2020-12-03 22:38:45 +09:00
DjDeveloperr 174d3cb58c fix(lint) & fix(code) 2020-12-03 10:58:20 +05:30
DjDeveloperr d1aba4a981 feat(jsdoc): pretty much done 2020-12-03 09:36:41 +05:30
minibox24 a143399f6e edit cdn.ts 2020-12-03 13:04:44 +09:00
minibox24 45eadb5d11 linting 2020-12-03 12:03:17 +09:00
minibox24 cdd874275e default function parameter 2020-12-03 11:35:52 +09:00
minibox24 9c42916cd2 add avatarURL defaultAvatarURL 2020-12-03 11:27:19 +09:00
Helloyunho 5e5b4076ce format files and ready for v0.9.0 2020-12-02 21:29:52 +09:00
DjDeveloperr fb110946e0 feat(presence): added caching and last gateway event! 2020-12-02 16:38:10 +05:30
DjDeveloperr 484c6e3c7b feat: clean up things 2020-12-02 15:56:20 +05:30
Helloyunho 286af83d7a
Merge branch 'main' into main 2020-12-02 19:07:34 +09:00
DjDeveloperr c7ef17a6d2 feat(reactions): implemented structures and events 2020-12-02 15:29:15 +05:30
DjDeveloperr a7336c19e3 feat(commands): add CommandCategory and fix messageUpdate 2020-12-02 13:32:00 +05:30
Helloyunho 7c8e235bb4
Merge branch 'main' into master 2020-12-02 16:57:02 +09:00
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 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 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 5dbd4a84f5 feat(messages): add message caching and messageDelete event 2020-11-15 14:46:36 +05:30
DjDeveloperr 7835162fd5 feat(commands): replace texts with events, add whitelisting 2020-11-15 13:02:46 +05:30
DjDeveloperr 72f0b91643 fix(roles): Member#roles now uses MemberRolesManager instead of Role[] 2020-11-09 16:59:22 +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 4b7699fe1a Requested changes 2020-11-09 08:36:41 +05:30
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 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
DjDeveloperr 04f2912c3c Fix lint... 2020-11-08 13:27:24 +05:30
DjDeveloperr 70824135a7 Fixed Member Caching, Message#member, Member#roles 2020-11-07 18:35:37 +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 7ead2c2ea6 Fix lint 2020-11-07 08:02:14 +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
yky4589 6228bbd3ce File Name Change #3 2020-11-04 21:43:32 +09:00
yky4589 9e3cd603d9 File Name Change and Extra Edit 2020-11-04 21:38:00 +09:00
AkiaCode c9be27ff44
Fix lint 2020-11-04 00:19:20 +09:00
DjDeveloperr 0fed83cb2d Fixed 173 Lint Errors 2020-11-03 14:51:29 +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
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
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 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 55eeb8dd3f Editting Base and User class, Embed etc 2020-10-25 15:50:32 +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
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 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
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