Skip to content

[BUG] delete_channel_permission() uses wrong api endpoint #1505

Closed
@Donbur4156

Description

@Donbur4156

Library Version

5.8.0

Describe the Bug

deleting channel permissions is not working.

Steps to Reproduce

get Channel Object
get User Object
await channel.delete_permission(target=user)

Expected Results

deleting the user from channel permissions list

Minimal Reproducible Code

No response

Traceback

No response

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.
  • I have attempted to debug this myself, and I believe this issue is with the library

Additional Information

The API Route is missing "permissions".
I´m making a PR with the change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions