Add try_member to guild. #14

Merged
paris-ci merged 2 commits from try_member into 2.0 2021-09-02 00:47:15 +00:00
paris-ci commented 2021-08-28 22:21:14 +00:00 (Migrated from github.com)

This also fix an omission in the fetch_member docs. fetch_member raises NotFound if the given user isn't in the guild.

This also fix an omission in the fetch_member docs. `fetch_member` raises `NotFound` if the given user isn't in the guild.
IAmTomahawkx (Migrated from github.com) requested changes 2021-08-29 17:59:38 +00:00
IAmTomahawkx (Migrated from github.com) commented 2021-08-29 17:59:23 +00:00

Import NotFound directly to avoid importing the whole module?
Wouldn't this result in an import loop?

Import NotFound directly to avoid importing the whole module? Wouldn't this result in an import loop?
paris-ci (Migrated from github.com) reviewed 2021-08-29 19:45:35 +00:00
paris-ci (Migrated from github.com) commented 2021-08-29 19:45:35 +00:00

It works for me, doesn't result in an import loop at all, but I'll still optimize the import. It's just cosmetic.

It works for me, doesn't result in an import loop at all, but I'll still optimize the import. It's just cosmetic.
IAmTomahawkx (Migrated from github.com) approved these changes 2021-09-02 00:47:09 +00:00
Sign in to join this conversation.
No description provided.