Skip to content

fix: provide a discord.Member object instead of string to slash commands#273

Merged
ReenigneArcher merged 1 commit intomasterfrom
fix-provide-a-discord.Member-object-instead-of-string-to-slash-commands
Apr 22, 2024
Merged

fix: provide a discord.Member object instead of string to slash commands#273
ReenigneArcher merged 1 commit intomasterfrom
fix-provide-a-discord.Member-object-instead-of-string-to-slash-commands

Conversation

@ReenigneArcher
Copy link
Member

Description

Using input_type provides a string instead of User/Member object. See: Pycord-Development/pycord#2428

Additionally, "try" to force syncing commands when the bot starts.

Screenshot

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.

  • I want maintainers to keep my branch updated

@ReenigneArcher ReenigneArcher merged commit 76a903c into master Apr 22, 2024
@ReenigneArcher ReenigneArcher deleted the fix-provide-a-discord.Member-object-instead-of-string-to-slash-commands branch April 22, 2024 00:43
@ReenigneArcher ReenigneArcher restored the fix-provide-a-discord.Member-object-instead-of-string-to-slash-commands branch April 22, 2024 00:45
@ReenigneArcher ReenigneArcher deleted the fix-provide-a-discord.Member-object-instead-of-string-to-slash-commands branch April 22, 2024 00:45
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