Commit Graph
34 Commits
Author SHA1 Message Date
Awesome Stickz 3fd075a80f feat(utils): add an export for DISCORDENO_VERSION (#4060) 2024-12-29 00:43:34 +05:30
Awesome Stickz 6abf453319 fix(gateway): set a nonce if none is provided for gateway.requestMembers (#4057)
* fix(gateway): set a nonce if none is provided for gateway.requestMembers

* chore: update comment for gateway.requestMembers to clarify about gateway.cache.requestMembers.enabled

* chore: make the comment better

* fix: add node:crypto import to deno import map
2024-12-27 20:43:01 +05:30
Awesome Stickz f41d968b4a feat(website): show bots' guild count at the time of review in reviews section (#4052) 2024-12-26 12:41:18 +01:00
Awesome Stickz 3bc006bbec docs: update faq (#4027) 2024-11-28 09:58:29 -06:00
Awesome Stickz 9709b53a7d docs: improve docs (#4022) 2024-11-28 09:38:28 -06:00
Awesome StickzandFleny 91b5b196bd fix(gateway): shard.resume() ending in a loop of constant resumes (#4017)
* fix(gateway): shard.resume() ending in a loop of constant resumes

* refactor(gateway): change shard.close() to async and move resolve logic to shard.close()

* refactor: wait for shard.close() promise in gateway.shutdown()

* Fix integration test

---------

Co-authored-by: Fleny <fleny113@outlook.com>
2024-11-27 13:24:07 +01:00
Awesome Stickz b151328969 docs: change wordings on caching and desired props page (#4010)
* docs: change wordings on caching and desired props page

* change value to property
2024-11-26 16:34:38 +01:00
Awesome Stickz e8391e8724 fix(rest): errors returned from makeRequest() doesn't provide more info rest is proxied (#4012) 2024-11-23 14:54:18 -06:00
Awesome Stickz 19b3d0978e refactor(bot): export base objects with getters from transformers (#4007) 2024-11-22 16:06:22 +01:00
Awesome Stickz 4e4655b0a2 refactor(rest): make proxy.authorization optional in CreateRestManagerOptions (#3977)
* fix(rest): sending wrong auth header if proxied and no proxy auth is provided

* make proxy.authorization optional in CreateRestManagerOptions instead
2024-11-10 00:28:39 +05:30
Awesome Stickz a727b7deaa docs: add caching guide (#3859)
* docs: add caching guide

* fix: change "client" to BOT

* change BOT to bot instead

* added a bit more info to important point to note in manual caching
2024-08-18 14:25:29 +05:30
Awesome Stickz 599cc4d1de docs: added example to resharding in big bot guide (#3857) 2024-08-18 09:12:36 +02:00
Awesome Stickz 352887c215 feat(gateway): add resharding options to CreateGatewayManagerOptions (#3856) 2024-08-12 17:21:00 +02:00
Awesome Stickz cfafc16e92 docs: remove tutorial section (#3817)
* docs: remove tutorial section

* fix: docusaurus broken links
2024-07-30 23:40:08 -05:00
Awesome Stickz fce4ae01c3 docs: update big bot guide (#3718) 2024-07-07 10:36:16 -05:00
Awesome Stickz 0a84f8fbd2 ci: fix labeler workflow (#3303)
* ci: fix labeler workflow

* fix syntax
2023-12-11 21:51:55 +00:00
Awesome Stickz e573b24722 ci: add w-unverified to new issues and prs, change labels tracked for stale issues (#3302) 2023-12-11 20:44:40 +00:00
Awesome Stickz 0af7b2919f chore(website): update community feedback bots' guild counts and logo (#3182) 2023-11-19 14:32:50 +00:00
Awesome Stickz 4a38f1a6e4 refactor: ignore handlers if events for an handler isnt provided (#3148)
* refactor: ignore handlers if events for an handler isnt provided

* style: use !event instead of event === undefined check

* fix: handleGuildDelete check
2023-10-15 04:27:55 +00:00
Awesome Stickz 45c878d390 fix(bot): bug with overriding lastShardId if it's not provided in createBot() options (#3141)
* fix(gateway): bug with overriding lastShardId if it's not provided in createBot() options

* fix the fix
2023-09-30 14:14:05 +00:00
Awesome Stickz f34c0c3bc0 fix: bug with rest manager passing a timestamp instead of milliseconds in setTimeout (#3125) 2023-09-19 17:09:48 +00:00
Awesome Stickz db2c4001b2 fix: remove slash command test for now to fix tests (#3102) 2023-08-19 15:21:04 +00:00
Awesome Stickz 6e231b5276 feat: add message_author_id to Message Reaction Add event (#3101) 2023-08-19 14:59:11 +00:00
Awesome Stickz 0aeadbb275 fix(rest): bug with trying to pass string values in calculateBits() if object is already in Discord format in changeToDiscordFormat() (#3099) 2023-08-05 18:32:10 +00:00
Awesome Stickz 3445211091 fix(docs): set ListGuildMembers options.limit default to 1 (#3065) 2023-07-23 21:00:27 +00:00
Awesome Stickz f9a5fc1afe feat: add support for new username system (#3035)
* feat: add support for new username system

* fix: default avatar calculation in avatarUrl(), also remove support for old system

* fix: use description from docs for user.globalName

* fix: typings

* fix: avatarUrl() to support both old and new username system
2023-06-13 15:39:06 +00:00
Awesome Stickz a3e6551f22 fix(gateway): lastShardId (#3026) 2023-05-08 15:59:23 +00:00
Awesome Stickz e70bfc3a81 fix(types): MessageActivityTypes.JoinRequest (#3007)
* fix(types): MessageActivityTypes.JoinRequest

* fix: docs links for typings

* use explicit values for enums
2023-04-19 04:19:29 +00:00
Awesome StickzandSkillz4Killz 3ebe151643 fix(website): faq grammar (#3003)
* fix: website faq grammar

* fix: more faq grammar fixes

* Update website/src/components/home/faq/index.tsx

* Update website/src/components/home/faq/index.tsx

---------

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-04-17 01:57:02 +00:00
Awesome Stickz 85ea2d9b8c fix(bot): missing exports of types (#3004)
* fix(bot): missing exports of types

* fix: add other exports
2023-04-16 23:51:17 +00:00
Awesome Stickz b2bffcf942 fix: big bot guide - further optimizations (#2999) 2023-04-14 18:53:37 +00:00
Awesome Stickz 206bae473b feat: added handlers and transformers to bot package (#2843) 2023-03-25 10:35:05 -05:00
Awesome StickzandSkillz4Killz b9766c6cb6 Update all templates' dd version, readme, added example env/config (#2500)
* Update bigbot template to v16, update readme, added .env.example for an example env

* Update minimal template to dd v16, update readme

* Update minimal template readme for consistency

* Update beginner template to v16, update readme

* Added config.json file, readme to nodejs template

* Fix kwik db stuff in beginner template

* deno fmt

* Update template readme

* Fix bigbot template raw event ignoring GUILD_CREATE instead of GUILD_LOADED_DD

* deno fmt

* fix deno fmt again

* Use .env file instead of config.json in nodejs template

* fix: kwik's version in beginner template

* Apply suggestions from code review

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

* Update template/README.md

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2022-10-07 16:41:11 -05:00
Awesome Stickz a7d6529fe8 docs(big-bot-guide): Updated to dd v16, fixed bugs, added missing code (#2501)
* docs(big-bot): Updated to dd v16, fixed bugs with it (cache), added missing code for events listener in bot part

* Add dd server link to big bot guide docs

* Fix: typo
2022-10-07 16:16:21 -05:00