Commit Graph

42 Commits

Author SHA1 Message Date
ayntee
565b9e1472 docs(structures/member): update description for Member#guildMember() (#565) 2021-03-06 11:48:48 +04:00
ITOH
8f8f988e2b fix(structures/channel): empty guildID in Channel struct (#551) 2021-02-26 22:11:02 +04:00
ITOH
15dc027b92 feat(structures/channel): add getters and handlers to Channel struct (#533)
* export CleanVoiceState interface

* feat(structures): channels getter voiceStates

* feat(structures): channels add connectedMembers

* feat(structures): channel add disconnect

* Update channel.ts

* feat(structures): channels add delete

* idk

* feat(structures): channel add editOverwrite

* feat(structures): channel add deleteOverewrite

* feat(structures): channel add edit

* feat(structures): channel add hasPermission
2021-02-21 21:22:52 +04:00
Skillz4Killz
4e09b7f46e feat(structures/message): add DM redirect for send message methods (#523)
* fix: message.methods to send in dm

* fmt

* fix lint

* Update message.ts
2021-02-16 17:21:31 +04:00
ayntee
ce99dc3e0a fix: remove structure automatic caching (#517)
* fix: remove structure automatic caching

* Update src/api/controllers/interactions.ts

* Update src/api/controllers/interactions.ts

* Update src/api/controllers/interactions.ts

* memb -> member

* rename shit

* Update src/api/controllers/misc.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* idk

* Update src/api/handlers/guild.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* fmt

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-02-12 22:18:05 +04:00
ayntee
f1b095eb54 style: fix lint warnings (#489)
* style: fix lint warnings

* style: fix lint warnings
2021-01-30 15:07:14 +04:00
Ayyan
9564f2d453 types(structures): strong types 💪 (#466) 2021-01-26 10:35:24 +04:00
ayntee
8fc6089386 refactor: remove index signatures 2021-01-21 22:34:26 +04:00
Ayyan
14ca3e1267 refactor: remove index signatures (#431) 2021-01-21 22:20:53 +04:00
ayntee
b3f9287183 style: format files 2021-01-20 17:02:01 +04:00
Skillz
d921d98931 test fix 2021-01-14 14:09:55 -05: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
Ayyan
55f68a242d types(structures): add return type for methods (#341) 2021-01-03 19:12:13 +04:00
Ayyan
8c9a075d30 fix: channels, presences, voiceStates can be undef (#301)
* fix(Guild): presences and voiceStates can be undef

* fix: handle undef Guild#voiceStates

* fix: channels, presences, voice_states can be undef

* Revert "fix: handle undef Guild#voiceStates"

This reverts commit ddd3c32e21.
2020-12-31 19:52:07 +04:00
TriForMine
484f86638f refactor: resolve async promises, fixed typos, and used inline variable for return (#299)
* Added await in async function, fixed typos and used inline variable for return

* Added await in async function, fixed typos and used inline variable for return

* Revert "Added await in async function, fixed typos and used inline variable for return"

This reverts commit f31caf5d

* Added await in async function, fixed typos and used inline variable for return

* Fixes format

* Fixes format 2

* Fixes format 4475757

* Fixes format 878757854786312378657865785785785785

* Change return to await

* Fixing more issues

* Fixing even more issues

* Fixing even more issues +

* Fixes format
2020-12-30 12:31:11 +04:00
Skillz
7cce1fab18 fmt 2020-12-27 13:26:19 -05:00
Skillz
8e92047845 allow optional easier 2020-12-27 13:10:36 -05:00
Skillz
156347c2fa fix: small typos 2020-12-27 12:39:23 -05:00
Skillz
dc23f30161 add message.channel 2020-12-27 12:11:08 -05:00
Skillz
727d07d25e fix message timestamp typing 2020-12-27 11:32:00 -05:00
Skillz
108142f025 rework message sending getters 2020-12-27 11:27:30 -05:00
Skillz
cbde2943ca add member.tag 2020-12-27 11:22:15 -05:00
Skillz
9230500993 fix member 2020-12-27 11:19:43 -05:00
Skillz
604a714b14 tiny fixes 2020-12-27 11:15:17 -05:00
Skillz
c9dc3623f0 fix 2020-12-27 11:11:18 -05:00
Skillz
d44309b557 add ban and unban to guild struct 2020-12-27 11:10:10 -05:00
Skillz
185db61887 add member.mention and member.avatarURL 2020-12-27 10:54:20 -05:00
ayntee
b35bcf821e style: format api/structures/channel.ts 2020-12-27 11:20:51 +04:00
Skillz
291d4a2f49 update docs guide 2020-12-26 23:07:26 -05:00
Skillz
ef938ca4ed fixes 2020-12-26 20:16:11 -05:00
Skillz
189dc150f2 rename to mod.ts 2020-12-26 19:30:32 -05:00
Skillz
0cfdb5fd43 fix guild struct 2020-12-26 19:26:09 -05:00
Skillz4Killz
e1d115ca0a fmt 2020-12-27 00:06:16 +00:00
Skillz4Killz
4f12969cd8 fmt 2020-12-26 23:35:58 +00:00
Skillz4Killz
6e924f4ee6 add guild stuff 2020-12-26 22:41:28 +00:00
ayntee
d793a46497 Merge branch 'next' of https://github.com/discordeno/discordeno into getters 2020-12-26 19:46:17 +04:00
ayntee
8e3fab7411 fix: remove util/cdn export 2020-12-24 17:59:15 +04:00
TriForMine
9a3475f2c6 fix: export structure types and update zlib to latest (#270)
* Update deps.ts

* Fixing import for structures

* Fix export

* Fixes format
2020-12-23 14:48:14 +04:00
ayntee
321175a72f Revert "chore: verbose imports"
This reverts commit dfe6f371d3.
2020-12-23 11:03:06 +04:00
ayntee
dfe6f371d3 chore: verbose imports 2020-12-22 22:59:09 +04:00
ayntee
7d183b9bef Merge branch 'next' of https://github.com/discordeno/discordeno into getters 2020-12-22 22:06:41 +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