Skip to content

[BUG] Behaviour of kwargs in bot methods #1918

@Bibo-Joshi

Description

@Bibo-Joshi

Steps to reproduce

Pass undocumented kwargs to a bot method

Expected behaviour

The kwargs should either be passed along to the API or an error should be thrown

Actual behaviour

The kwargs are just ignored

Offline discussion (with @Poolitzer @tsnoam @n5y):

  • just ignoring kwargs is not good
  • we're not really comfortable with passing method kwargs to the API
  • we still need class kwargs (being ignored), so api changes dont immediately break the code

Note that this goes again older decisions, see #733.

Before we go for an implementation, let's hear, what @Eldinnie thinks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions