Commit Graph

1169 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 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 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 7d183b9bef Merge branch 'next' of https://github.com/discordeno/discordeno into getters 2020-12-22 22:06:41 +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 a0ab017437 Merge branch 'master' of https://github.com/discordeno/discordeno into getters 2020-12-20 16:18:25 +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
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
Skillz4Killz 6ed345b87b Update src/structures/role.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
2020-12-19 12:19:34 -05:00
ayntee d08adff0dd feat: add getters for Template 2020-12-19 13:52:48 +04:00
ayntee e082a5d693 fix: check if Message#guildID is present 2020-12-19 13:24:38 +04:00
ayntee 01fc00334e fix: Member#guildMember return type 2020-12-19 13:19:39 +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
Skillz4Killz c910c381a0 please work i hope 2020-12-16 13:46:36 -05:00
Skillz4Killz a65a6e3bde messages are annoying 2020-12-16 12:24:22 -05:00
Skillz4Killz 370f397344 fix the bugs my nuke opened 2020-12-15 18:06:16 -05:00
Skillz4Killz aa39b1b62f fmt 2020-12-15 17:57:02 -05:00
Skillz4Killz 2f14cf75ac role stuff 2020-12-15 17:52:58 -05:00
Skillz4Killz 7559ad68cc nuke this bug 2020-12-15 17:52:19 -05:00
Skillz4Killz 6da6965878 role getters 2020-12-15 15:32:14 -05:00