Commit Graph

1097 Commits

Author SHA1 Message Date
ayntee
b650ca3d8e Update the version in the README 2020-12-26 20:07:24 +04:00
ayntee
1c1ad37895 Change order of intents 2020-12-26 20:06:45 +04:00
ayntee
2c697a4d2d refactor: add gateway version to constants 2020-12-26 20:01:41 +04:00
ayntee
64884439db refactor(rest): move user agent to constants 2020-12-26 19:36:08 +04:00
ayntee
8092128a0f Resolve merge conflicts 2020-12-26 19:11:43 +04:00
ayntee
e7f917bbdb Update example 2020-12-26 19:11:06 +04:00
ayntee
2ae07da6db Rename socket to ws 2020-12-26 19:02:57 +04:00
ayntee
1d69a01a8a idk 2020-12-26 18:35:59 +04:00
Ayyan
03d2a13599 Update README.md 2020-12-25 12:55:52 +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
104d01920b Merge branch 'next' of https://github.com/discordeno/discordeno into next 2020-12-22 21:43:53 +04:00
ayntee
7ec87de262 fix: replace import paths to latest 2020-12-22 21:43:35 +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
ayntee
6ecff50d2b deps: update @evan/wasm/zlib to latest 2020-12-22 21:22:03 +04:00
ayntee
eb33c8cf84 Remove .editorconfig 2020-12-22 21:16:11 +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
6cca06a855 Merge branch 'next' of https://github.com/discordeno/discordeno into next 2020-12-20 16:27:14 +04:00
ayntee
73bf85944a Merge branch 'master' of https://github.com/discordeno/discordeno into next 2020-12-20 16:18:49 +04:00
ayntee
2d34f2d218 Merge branch 'master' of https://github.com/discordeno/discordeno into next 2020-12-20 08:36:17 +04:00
Ayyan
cfa8d25df2 chore: run CI on push, pull_request & do not run deno cache (#266)
* chore: remove deno cache from "Lint" workflow

* chore: run "Lint" workflow on push and pull_request
2020-12-19 22:44:42 +04:00
Skillz4Killz
f0f5ab72d9 Merge pull request #265 from discordeno/max-stack
Max stack
2020-12-16 14:30:28 -05:00
Skillz4Killz
067b80e0eb fix max stack i hope 2020-12-16 14:28:20 -05:00
ayntee
169dfc923b docs: better wording 2020-12-15 14:52:24 +04:00
ayntee
409a494c51 Merge branch 'master' of https://github.com/discordeno/discordeno into next 2020-12-15 14:52:04 +04:00
Ayyan
b81cf89fb2 docs: update the theme-color to blurple (#257) 2020-12-15 12:44:04 +04:00
Ayyan
61fd95a420 deps: update deps to latest (#256) 2020-12-15 12:30:40 +04:00
ITOH
6bc71db6eb docs: add OG image meta (#255) 2020-12-15 12:19:09 +04:00
ITOH
6aef2fe3b6 docs: add favicon (#254) 2020-12-15 11:32:14 +04:00
ITOH
3702925d03 feat: new webhook endpoints (#253)
* commit changes

* Add max message length error
2020-12-14 16:13:38 +04:00
ayntee
2023b6450b fix: resolve() -> resolve(undefined) 9.4.1 2020-12-13 11:50:13 +04:00
ayntee
30cff9518f Merge branch 'master' of https://github.com/discordeno/discordeno into next 2020-12-12 13:13:34 +04:00
Ayyan
07b02e7e63 Update README.md 2020-12-11 18:27:29 +04:00
ayntee
6ba289199a style: format source files 2020-12-11 01:08:12 +04:00
Skillz4Killz
6437274958 fix: members intent fetching (#229)
* fixes fetchMembers #223

* Update guild.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>
2020-12-10 19:27:17 +04:00
Ayyan
d1b07f5f2c Merge pull request #245 from discordeno/ws-close-msgs
feat: better websocket close error messages
2020-12-10 19:20:19 +04:00
Ayyan
ef1df42840 Update permissions.ts 2020-12-10 18:48:10 +04:00
Ayyan
a5f3c4fdf3 Merge pull request #246 from discordeno/idk
fix: resolve() -> resolve(undefined)
2020-12-10 18:10:07 +04:00
Ayyan
929e60471c Update lint.yml 2020-12-10 18:03:12 +04:00
Ayyan
8da1c5ca9b Update requestManager.ts 2020-12-10 17:59:14 +04:00
Ayyan
d84e0887c3 Merge pull request #243 from itohatweb/dry-1
refactor: replace bitwise calculation with calculateBits()
2020-12-10 12:55:05 +04:00