Commit Graph

15 Commits

Author SHA1 Message Date
ITOH
b00504ce07 perf(plugins/helpers,rest,site,template)!: uppercase rest methods (#2252)
* perf(plugins/helpers,rest,site,template)!: uppercase rest methods
There is no need for us to pass the methods in lower case and then use the `toUpperCase()` method everywhere. Therefore this PR changes every lowercase method to be uppercase (eg. `"get"` => `"GET"`).

* template is old version
2022-05-25 20:45:51 +02:00
ITOH
1edb3c2110 refactor(bot,plugins/helpers,rest,util)!: improve rest route handling (#2248)
* refactor(bot,helpers,plugins,rest,util)!: improve rest route handling
 - rename endpoints constant to routes
 - simplify routes code by removing bases and function calls
 - url query params can now be passed to the route functions

* style: deno fmt

* fix base stuff

* suggestions
2022-05-25 20:35:25 +02:00
Skillz4Killz
21cb40eaa2 fix: add missing exports to helpers plugin 2022-05-18 16:17:45 +00:00
Skillz4Killz
0258722f24 fix: return type of helpers plugin 2022-05-18 16:12:51 +00:00
ITOH
9980856eef refactor!: fix some spelling mistakes (#2144)
* refactor!: fix some spelling mistakes
This fixes some spelling mistakes around the code base. Note not all are fixed.

* subComponent
2022-03-31 14:16:34 +02:00
Skillz4Killz
53a811f8d7 fix: omg this fmt 2022-03-20 12:35:25 +00:00
Skillz4Killz
751f719a87 fix: helper plugin errors 2022-03-20 12:17:42 +00:00
Skillz4Killz
2a84ac982e fix: fmt 2022-03-16 02:00:10 +00:00
Skillz4Killz
a0a1554756 refactor: typings using ReturnType (#2105)
* fix: check new types idea

* fix: type errors

* fix: new style

* fix: more cleanup

* fix: more cleanup

* fix: cleanup audit logs

* fix: cleanup stickers

* fix: cleanup integrations

* fix: more cleanup

* fix: organize into 1 place

* fix: few errors

* fix: some broken import fixes

* fix: quite a lot of fixes across the board

* fix: more fixes for broken imports

* fix: more fixes for broken imports

* fix: handler imports

* fix: all remaining import errors

* fix: more errors needing fixes

* fix: clearing up transformers

* fix: few moer types

* fix: more cleanup of extra types

* fix: fmt

* fix: cleanup discordeno file

* Nuke Base Types (#2102)

* fix: cleanup snake stuff

* convert camelCase to snake_case (#2103)

* fix: add camelize

* fix: finalize remaining errors

* fix: imports in test

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-03-14 22:11:22 -04:00
Yuzu
fc779bf6d0 feat: sendPrivateInteractionResponse helper (#2096) 2022-03-12 00:34:33 -05:00
Skillz4Killz
3f432caef6 feat(plugins/helpers): fetchAndRetrieveMembers (#2035) 2022-02-11 17:24:47 +00:00
Skillz4Killz
14f44458f9 feat(plugins/helpers): add sendTextMessage to send a simple string (#2033)
* feat: sendTextMessage to send simple string

* fix: clean up imports

* Update plugins/helpers/mod.ts

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
2022-02-11 17:14:49 +00:00
ITOH
81f8e0377c style: move to deno fmt (#1992)
* Create deno.json

* run format

* run format

* ci: only check formatting

* f

* Update settings.json

* Update settings.json
2022-02-04 15:00:04 +01:00
ITOH
886021e751 remove the sublicensing 2022-01-26 19:04:03 +01:00
ITOH
7d2e157148 move plugins to the main repo 2022-01-26 19:02:34 +01:00