Skip to content

Conversation

AstreaTSS
Copy link
Member

Pull Request Type

  • Feature addition
  • Bugfix
  • Documentation update
  • Code refactor
  • Tests improvement
  • CI/CD pipeline enhancement
  • Other: [Replace with a description]

Description

Fixes #1393, which prevented properly fetching a guild.

Changes

  • Properly pass in guild_id to the Route for get_guild, not to the parameters.

Related Issues

#1393

Test Scenarios

await bot.fetch_guild(1234)  # invalid id, so will bypass cache anyhow

Python Compatibility

  • I've ensured my code works on Python 3.10.x
  • I've ensured my code works on Python 3.11.x

Checklist

  • I've run the pre-commit code linter over all edited files
  • I've tested my changes on supported Python versions
  • I've added tests for my code, if applicable
  • I've updated / added documentation, where applicable

@AstreaTSS AstreaTSS changed the base branch from stable to unstable May 7, 2023 16:45
@LordOfPolls LordOfPolls merged commit 7bf8a9f into interactions-py:unstable May 8, 2023
@AstreaTSS AstreaTSS deleted the guild-fetch-fix branch May 9, 2023 04:05
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.

[BUG] fetch_guild() method not working.
3 participants