Commit Graph

54 Commits

Author SHA1 Message Date
ITOH
06a3aeda4b fix: member.joinedAt can be undefined 2021-05-15 12:42:30 +02:00
Skillz4Killz
c65a54ac54 quick fix 2021-05-07 13:08:21 +00:00
Skillz4Killz
a32f5b5ece convert hashes to big ints + bools 2021-05-07 12:57:36 +00:00
ITOH
7ff0d242ff hopefully the last dir change 2021-05-05 20:06:32 +02:00
Skillz4Killz
9b300ec411 Merge branch 'main' into change-cache-members 2021-05-05 12:08:45 -04:00
ITOH
be6ff0abd7 remove initial cache members queue 2021-05-05 15:55:40 +02:00
ITOH
aefd5c75f5 fix changes 2021-05-04 21:05:43 +02:00
ITOH
c60422a23f Merge branch 'main' into threads 2021-05-04 17:45:38 +02:00
ITOH
63c994e500 silly me 2021-05-04 17:40:59 +02:00
ITOH
ea3f1ac271 Merge branch 'main' into stupid-deno-type-errors 2021-05-04 14:53:44 +02:00
ITOH
315f162e78 structures too 2021-05-04 12:41:07 +02:00
ITOH
81435535f8 add: bitfield 2021-05-04 11:30:59 +02:00
ITOH
f91bf2871f Merge branch 'main' into threads 2021-05-03 20:50:53 +02:00
Skillz4Killz
3d39b3878a change: ids to use bigint instead of string (#892)
* p1 of bigints change

* shtuff fixes and bits

* Commit from GitHub Actions (Lint)

* finish bigint structs

* typings fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* blame wolf

* Commit from GitHub Actions (Lint)

* foxed

* Commit from GitHub Actions (Lint)

* fix unit tests

* Commit from GitHub Actions (Lint)

* change: guildUpdate guild ID can't change

* delete server has been renamed to delete guild

* fixes

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-05-03 18:05:18 +01:00
ITOH
efd52e9c9b fix: thread channels have own prop 2021-05-02 20:51:39 +02:00
ITOH
c50fb39b42 deleteServer to deleteGuild 2021-04-30 15:01:32 +02:00
ITOH
be2bbbdd99 autoconvert handler messages 2021-04-24 23:17:11 +02:00
ITOH
b51611e0ed fix(structures/gu8ild): add shardId to interface 2021-04-12 21:09:48 +02:00
ITOH
b9bd29ebf8 fix 2021-04-12 09:30:45 +02:00
ITOH
7a6b4bf2d7 ref 2021-04-09 23:07:20 +02:00
ITOH
dc9c33f0d4 f 2021-04-09 22:22:06 +02:00
ITOH
9312606100 lop 2021-04-09 21:37:13 +02:00
Skillz4Killz
9c53a67dd3 fix: rest method uppercase 2021-04-09 14:41:31 +00:00
Skillz4Killz
03631e3c6e refactor: base complete for unit tests 2021-04-09 12:46:38 +00:00
ITOH
89a6e043fe f 2021-04-06 22:08:19 +02:00
ITOH
2e397325f5 fix: ID > Id (#754)
* Update bot.ts

* id id
2021-04-04 21:51:01 +04:00
Skillz4Killz
1b8161e85b refactor: cleanup and fmt 2021-04-04 12:54:33 +00:00
Skillz4Killz
658db44476 fix: getters for cached versions of server images 2021-04-04 12:21:43 +00:00
Skillz4Killz
b2dd0dd87b Merge branch 'main' into structures-guild 2021-04-03 23:50:20 -04:00
Skillz4Killz
c14ef3d4e7 fix: cache members when poossible on guild create 2021-04-04 03:29:49 +00:00
ITOH
d2ae1638ac typo 2021-04-03 21:41:53 +02:00
ITOH
54b62193bb mooooo 2021-04-03 21:32:27 +02:00
ayntee
eaff54f90f refactor: rename *ID to *Id (#710)
* refactor: rename *ID to *Id

* Update src/helpers/commands/delete_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/edit_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/get_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/send_interaction_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/upsert_slash_command.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/edit_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_image_url.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_image_url.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/guilds/get_widget_settings.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update .gitignore

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update LICENSE

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/members/edit_bot_profile.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/members/edit_bot_profile.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/create_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/delete_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/edit_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/execute_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/webhooks/get_webhook.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/rest/cache.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/rest/request.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/helpers/commands/delete_slash_response.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/constants.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Update src/util/utils.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>

* Revert docs file

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-03-29 21:03:46 +04:00
ITOH
c91c9d0870 types: remove entire types (#684) 2021-03-23 19:14:26 +04:00
ayntee
e4fc09069f style: format files 2021-03-20 10:08:30 +04:00
ayntee
5125ffd308 refactor: replace util/cache with cache 2021-03-20 10:06:57 +04:00
ayntee
e9cbbbff7c refactor(helpers): separate functions into files (#667)
* refactor(helpers): separate functions into files

* idk

* idk
2021-03-13 08:10:31 -05:00
ayntee
8654aeded5 refactor: rename controllers to handlers and handlers to helpers (#660)
* refactor: rename controllers to handlers and handlers to helpers

* fmt
2021-03-11 21:41:03 +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
ITOH
7bdbcb76d6 refactor: centralize types (#235)
* Centralize types and structures

* Resolve Conflict

* Update cache.ts
2020-12-08 22:23:36 +04:00
ayntee
fffa2a078f style: format source files 2020-11-19 15:12:15 +04:00
Skillz
fee041c355 test fix for initial members 2020-11-18 21:15:39 -05:00
Skillz
7c3c6409d9 remove members from guild struct 2020-11-18 16:08:00 -05:00
Skillz
6ecdb9fc9b move guild.members to cache.members 2020-11-18 11:58:26 -05:00
Skillz
7c8b85cde9 remove guild.channels 2020-11-18 00:11:22 -05:00
ayyanm
10f67b090a Replace all occurrences of "import type" syntax to "import" syntax 2020-10-28 12:52:33 -07:00
chroventer
3fab966208 Organize imports (#127)
* Organize imports

* Organize imports
2020-10-02 01:35:48 -07:00
Skillz
0c1f9529e0 import type fixes 2020-09-20 19:45:34 -04:00
Skillz
f3a113a6e3 structures made async to be overrideable 2020-09-17 17:49:18 -04:00
Skillz
f1cf073d2c refactor creaemember 2020-09-16 13:20:14 -04:00