Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Casino] Fix loading with dpy2 #265

Open
wants to merge 2 commits into
base: V3_dpy2
Choose a base branch
from

Conversation

Injabie3
Copy link

@Injabie3 Injabie3 commented Jan 12, 2023

This PR will:

  • Fix the add_cog call in casino to use await, as it is now a coroutine.
  • s/avatar_url/display_avatar.url, since avatar/display_avatar are discord.Assets with a url attribute, but avatar may be None.

- add_cog is now a coroutine.
- Use `display_avatar.url`, as `avatar` is an Asset now and may be
  `None`.
@Injabie3
Copy link
Author

Also fixed an avatar_url change from dpy1 to dpy2. Updated description.

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.

1 participant