Commit Graph

12 Commits

Author SHA1 Message Date
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
ITOH 3184746008 fix(controllers/messages): "messageUpdate" event not returning the new message (#482) 2021-01-28 18:39:58 +04:00
ITOH 61f2e1592b fix(controllers): cache updated message on MESSAGE_UPDATE (#429)
* fix(controllers): cache message on update event

* forgot to paste that in
2021-01-21 22:05:32 +04:00
ITOH fb409b71b6 fix(controllers): check if the cached content is same as the updated content (#426) 2021-01-20 21:52:47 +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 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