Commit Graph

369 Commits

Author SHA1 Message Date
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
3123c13231 Merge branch 'master' of https://github.com/discordeno/discordeno 2020-12-27 10:54:23 -05:00
Skillz
185db61887 add member.mention and member.avatarURL 2020-12-27 10:54:20 -05:00
ITOH
abee2e2dee fix: hasChannelPermissions() to use memberIDHasPermission() (#279) 2020-12-27 19:46:11 +04:00
ayntee
2e1ad20361 style: format files 2020-12-27 18:53:52 +04:00
Skillz
280cfef182 Merge branch 'master' of https://github.com/discordeno/discordeno 2020-12-27 09:47:02 -05:00
Skillz
65d3789742 fix: nonce bug not resolving requests 2020-12-27 09:47:00 -05:00
Skillz4Killz
01784791fe Merge pull request #275 from discordeno/deps
deps: use unpkg instead of esm.sh
2020-12-27 08:45:38 -05:00
Ayyan
5959987639 Update README.md 2020-12-27 16:59:58 +04:00
ayntee
3ca78030cb docs: improve wording 2020-12-27 16:51:18 +04:00
ayntee
a27349d2ec deps: use unpkg instead of esm.sh 2020-12-27 14:49:16 +04:00
TriForMine
d5c19e50f0 fix: remove extra slash from IMAGE_BASE_URL (#274)
Removed the extra slash at the end since the usage of this variable always add the slash after the constant.
2020-12-27 14:33:37 +04: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
af156b6b25 Merge pull request #262 from discordeno/getters
feat: implement getters
2020-12-26 18:37:55 -05: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
d83a049a93 idk 2020-12-26 20:30:31 +04:00
ayntee
2a6d5ad070 idk 2020-12-26 20:26:51 +04:00
ayntee
69099e04fc Better debug type 2020-12-26 20:23:57 +04:00
ayntee
2c697a4d2d refactor: add gateway version to constants 2020-12-26 20:01:41 +04:00
ayntee
d793a46497 Merge branch 'next' of https://github.com/discordeno/discordeno into getters 2020-12-26 19:46:17 +04:00
ayntee
64884439db refactor(rest): move user agent to constants 2020-12-26 19:36:08 +04:00
ayntee
2ae07da6db Rename socket to ws 2020-12-26 19:02:57 +04:00
ayntee
8e3fab7411 fix: remove util/cdn export 2020-12-24 17:59:15 +04:00
ayntee
3d3e2f3363 chore: remove todo comment 2020-12-24 17:56:29 +04:00
ayntee
fe43cc8f88 Some updates―renaming interfaces and files 2020-12-23 18:12:12 +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
Skillz4Killz
3c1d72353a fixes 2020-12-22 19:18:42 +00:00
Skillz4Killz
bdcab9fdf7 Update message.ts 2020-12-22 14:16:14 -05:00
ayntee
dfe6f371d3 chore: verbose imports 2020-12-22 22:59:09 +04:00
ayntee
b353987809 fix: update import paths 2020-12-22 22:10:33 +04:00
ayntee
7d183b9bef Merge branch 'next' of https://github.com/discordeno/discordeno into getters 2020-12-22 22:06:41 +04:00
Skillz4Killz
19f228c329 feat: slash commands and interactions (#248)
* start slash commands

* lil bit of this

* a little bit of that

* chore: add slash commands' types  (#249)

* Add slash Types

* style: format source files

* interaction create event

* make it a valid controller

* respond to a slash command

* interactions

* shtuff

* gotta get them all

* you gotta hit the bullseye

* you gotta survive

* most important thing i forgot

* please keep this

* more shuttttfgvuasdafwesdvjzdk

* more endpoints

* TYPO

* making that party jam

* this is my jam

* refactor: move slash commands types to webhook.ts (#250)

* Move Types

* Move to webhook.ts types file

* Update webhook.ts

* fix: update ExecuteSlashCommandOptions (#252)

* Move Types

* idk

* Remove Unnecessary Comment

* details

* http side of slash

* Format

* idk

* cleanup

* fmt

* fix imports

* tet

* remove log

* Update interactions.ts

* Update interactions.ts

* Update interactions.ts

* Use tweetnacl_deno for verification

* chore: move tweetnacl import to deps.ts

* Update deps.ts

* deps: use tweetnacl from GitHub

* fix: use serverOptions.slashHexKey

* fix: res -> req

* fix: use TextEncoder

* deps: add std@0.81.0/encoding/hex.ts

* chore: use encode() from std/encoding/hex.ts

* I am using the GitHub online editor pls help

* Update deps.ts

* Update interactions.ts

* Update interactions.ts

* Update interactions.ts

* Update interactions.ts

* fix: respond with 400 if timestamp and signature not present

* style: format files

* refactor!: merge createServer() into startServer()

* style: format files

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
Co-authored-by: ayntee <ayyantee@gmail.com>
2020-12-22 21:39:01 +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
TriForMine
f9114b98d0 feat: add GuildMember#pending prop (#269) 2020-12-22 16:27:12 +04:00
ayntee
f1d0ef2d35 chore: resume and reconnect 2020-12-22 16:05:09 +04:00
ayntee
aa03e5ed4d chore: remove @ts-ignore comments 2020-12-19 21:49:45 +04:00
Skillz4Killz
e7ce52bab4 Update src/structures/role.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
2020-12-19 12:20:19 -05:00
Skillz4Killz
d7856f17d3 Update src/structures/message.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
2020-12-19 12:20:10 -05:00
Skillz4Killz
707d4a6673 Update src/structures/channel.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
2020-12-19 12:19:57 -05:00