Skip to content

Conversation

@EepyElvyra
Copy link
Contributor

No description provided.

mAxYoLo01 and others added 30 commits August 11, 2022 17:19
* fix: Change the autocomplete dispatch from ID -> name to allow multi-guild functionality when scope is used

* ci: correct from checks.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add helper methods for component disabling

* ci: correct from checks.

* fix: actually return

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: turn MISSING into a more proper sentinel

* docs(docstring): Update `_Missing`'s docstring
* feat: Add ``presence`` property to ``User``

* ci: correct from checks.

* make optional

* ref: remove `"` in docstring

Co-authored-by: Max <[email protected]>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Max <[email protected]>
* refactor!: Rename outdated channel type names to new

* refactor: change types in code

Co-authored-by: DeltaX <[email protected]>
* ref!: set GuildMember as a subclass of Member

* ci: correct from checks.

* revert: add back original functions

* ci: correct from checks.

* fix: remove other branch git sorcery

* ci: correct from checks.

* fix: last github fix

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat!: Implement ``AllowedMentions`` object

* replace ``MessageInteraction``(what it do here lol) to ``AllowedMentions``

* ref: add to ``__all__``

* ci: pre-commit

* typehints

* Allow pass dict

* ci: correct from checks.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: Implement barebones GW ratelimiter, implement resume url usage.

This also refactors some attributes to utilise the ratelimiter and more importantly, the heartbeat loop.
(It still works the same!)

* feat: Refactor variable switching, optimise seq definitions, written primitive restart command.

* feat!: Cache websocket url, completely redo WS client process/instantiation and client login process, implement ratelimiter to GW process

* docs, chore: Remove unused code/imports/log prints, optimise docs/slots

* docs, chore: Remove/refactor unused comments, document and typehint ratelimiter object

* docs: Fix misprint on log debug division

* feat: Implement a _stop() client function.

* fix: Supress error code 4001.

* fix: Change to int value conversions for payload, readd afk attribute to ClientPresence object, revert suppress 4001 commit.

* docs, refactor: Tweak ratelimit functions to properties, redo ratelimit documentation and usage of logger exceptions

* docs: Tweak ratelimit delay description

* fix: Fix changing client presence to IDLE without providing activities attribute

* refactor!: Rename __task attribute to _task
* refactor: improve the PR template again

* refactor: improve the PR template again
* Fix: modify method in client

* ci: correct from checks.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat!: Add a guild id property for the member object

* Update interactions/api/models/member.py

Co-authored-by: Max <[email protected]>

* ci: correct from checks.

* ref: use self._extras

* ci: correct from checks.

* ref: raise an exception when not present

* ci: correct from checks.

* Update gw.py

* Update member.py

* feat: ensure a guild_id in _extras whenever possible

Co-authored-by: Max <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat!: Add a guild id property for the member object

* refactor: optimize project structure

* revert: stuff from other branch

* refactor: move missing from stub files

* fix: resolve new circular imports
* Docs: add back previous changes

* docs: fix outdated links in the quickstart (#1037)

Co-authored-by: Damego <[email protected]>
* fix: consider self when auto-deffering in extensions

* revert: remove unwanted change

* refactor: don't check for "self"

* add extension typehint
All funds I receive from sponsors for interactions.py will ALWAYS go to interactions.py. All that is being changed is to repoint to the proper URL.
* fix: command options doesn't syncs

* ci: correct from checks.

* Update interactions/client/bot.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
)

* fix: Set the websocket's token without referencing the httpclient

* fix: correct the websocket's headers

* ci: correct from checks.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix: Handle gateway stream when None is given.

* refactor: Change occurrence of heartbeater task recreation

(This just mitigates an edgecase of heartbeating when the wsclient is None.

* chore: pre-commit ci
* chore: bump version and add catalyst to authors

* No one saw this

* Update PULL_REQUEST_TEMPLATE.md

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Damego <[email protected]>

* ci: correct from checks.

Co-authored-by: Damego <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
AstreaTSS and others added 29 commits September 9, 2022 08:37
* docs, feat: Implement barebones Forum channel support.

* docs: Update channel attributes.

* feat: Implement barebones create thread in forum function.

* feat: Implement tags support, implement creating post in Forums.

* fix: Include headers.

* chore: Remove redundant slots, update flag headers.

* feat: Apply previous forum breaking change, document tags in http method.
chore: Merge unstable to stable
* feat: Utilise reconnection lock for packet sending.

* chore: bump version

* fix: Fix race condition when reconnecting and identifying/resuming using the shared reconnect lock.
* feat: helpers helpers helpers

* docs: helpers helpers helpers

* Update error.py
* refactor!: add ``event`` to ``raw_socket_create`` dispatch

* docs: update info about ``raw_socket_create``
* refactor: improve error message formatting

* revert: oop-
* feat: Add `REQUEST_MEMBERS` support

* fix: attributeerror

* refactor: convert to `Member` & add http

* refactor: change typehints

* Update interactions/api/gateway/client.py

Co-authored-by: Toricane <[email protected]>

* Update interactions/api/gateway/client.py

Co-authored-by: Toricane <[email protected]>

* ref: optimize condition

* refactor: use elif

Co-authored-by: Toricane <[email protected]>
* feat: allow embed suppression in interaction responses

* docs(docstrings): add toricane's suggestion

Co-authored-by: Toricane <[email protected]>

* docs(docstrings): add toricane's suggestion (Again)

Co-authored-by: Toricane <[email protected]>

Co-authored-by: Toricane <[email protected]>
* refactor: give the bot an overrideable logging configuration

* credits

* ref: change to debug setting

* refactor: requested changes
…ces (#1093)

* feat: add the client, command, and extension to CommandContext instances

* docs(docstrings): Update ivars
…#1096)

* Update misc.py

* ci: correct from checks.

* Update context.py

* Update context.py

* fix precommit

* Revert changes to misc.py

* revert unwanted changes

* ci: correct from checks.

* revert unwanted changes again

* Update context.py

* Update interactions/client/context.py

Co-authored-by: Toricane <[email protected]>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Toricane <[email protected]>
…thod (#1101)

* Fix the thing

* ci: correct from checks.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Update thread.py

* Update thread.py

* Update channel.py

* ci: correct from checks.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* docs: Update doc utils version, update docs to account for utils architecture layout.

* docs: Fix python library and utils pointer at quickstart.rst

* docs: Update locale.

* docs: Reduce redundancy of type references (deduplication)

* docs: Update locale.

* docs: Add emoji model to docs.

* docs: Fix emoji header typo.
chore: merge unstable into stable
@EepyElvyra EepyElvyra merged commit c02616f into documentation Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.