ayntee
5566046fed
refactor(controllers): remove redundant DiscordPayload#t check ( #653 )
2021-03-10 23:38:28 +04:00
ITOH
2c3692810d
refactor(structures): rename create* functions ( #395 )
...
* structures: rename structure create functions
* fix: errors occured because of structure rename
* fix(controllers): errors occured because of structure rename
* fix
* fix createServer to createGuild rename
* rename create*structure to create*Struct
* update docs
* Phew
* rename createguildrole
* fix that
* fmt?
* idk
* why
* fixxess
* Update member.ts
* Update member.ts
* ahh found it
* revert this
* Update mod.ts
Co-authored-by: ayntee <ayyantee@gmail.com >
2021-03-08 20:37:06 +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
051087f5bb
feat(controllers/misc): add inviteCreate & inviteDelete listeners ( #504 )
...
Closes #501
2021-02-04 10:59:42 +04:00
ITOH
9b39112ab1
fix(controllers/misc): use cacheHandler in ready event ( #477 )
2021-01-27 18:55:39 +04:00
Ayyan
7cd4fda3f4
feat(controllers): add INTEGRATION* gateway events ( #459 )
...
* feat(controllers): add INTEGRATION* gateway events
* suggestions
* forgive me, i am forgetful :P
* Update src/types/options.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2021-01-26 18:32:43 +04:00
ITOH
c281665961
fix: use applicationID for slash commands instead of botID ( #437 )
...
* add(bot): ApplicationID let & setApplicationID function
* fix(controllers): set application id when bot is ready
* refactor(util): rename botID argument to applicationID
* fix(handlers): use applicationID
2021-01-23 23:19:12 +04:00
ITOH
62af388820
fix(controllers): update cache with new value in gateway events ( #433 )
...
* fix(controllers): cache updated member
* fix(controllers): cache update guild
* fix(controllers): cache user update
* fix(controllers): cache voice state update
* refactor(controllers): message reaction add remove previousReactions
* refactor(controllers): message reaction remove remove previousReactions
* fix(controllers): cache message reaction remove all
* fix(controllers): cache message reaction remove emoji
* fix(controllers): cache guild role create
* fix(controllers): role delete event update cache and return eventHandler
* fix(controllers): cache role update
* don't return eventHandlers
* don't return eventHandlers
2021-01-22 19:20:33 +04:00
Ayyan
14ca3e1267
refactor: remove index signatures ( #431 )
2021-01-21 22:20:53 +04:00
Skillz4Killz
cc21a500ad
Update misc.ts
2021-01-09 16:10:19 -05:00
Skillz4Killz
5b01d331a2
Update misc.ts
2021-01-09 16:09:56 -05:00
Ayyan
cd7973273e
fix(misc): check whether guilds' loaded every 2s ( #353 )
...
* fix(misc): check whether guilds' loaded every 2s
* unavailable_guilds -> guilds
* guilds -> unavailable_guilds
* Separate unavailable guild type
* Clean up and apply suggested changes
2021-01-09 21:39:25 +04: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
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
65d3789742
fix: nonce bug not resolving requests
2020-12-27 09:47:00 -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
ayntee
8e3fab7411
fix: remove util/cdn export
2020-12-24 17:59:15 +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
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