Skip to content

Conversation

zeffo
Copy link
Contributor

@zeffo zeffo commented Sep 3, 2021

Summary

This PR adds a voice_client property and typing method to discord.app.context.InteractionContext. The voice_client property is a shortcut to self.interaction.guild.voice_client and the typing method is a shortcut for discord.context_managers.Typing(self.interaction.channel).

This mimics discord.ext.commands.Context.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@CodeWithSwastik CodeWithSwastik merged commit d35bcd8 into Pycord-Development:slash Sep 3, 2021
DA-344 pushed a commit to DA-344/pycord that referenced this pull request Oct 3, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

2 participants