interactions-py / interactions.py

A highly extensible, easy to use, and feature complete bot framework for Discord
https://interactions-py.github.io/interactions.py/
MIT License
839 stars 184 forks source link

fix: Add POLL_RESULT to MessageType enum #1735

Closed LawMixer closed 1 month ago

LawMixer commented 2 months ago

Pull Request Type

Description

This is a fix to the warning invalid/unexpected value 46 - the commit message is wrong input (accident);

Class `MessageType` received an invalid and unexpected value `46`, a new enum item will be created to represent this value. Please update interactions.py or report this issue on GitHub - https://github.com/interactions-py/interactions.py/issues

Changes

Related Issues

1731

Test Scenarios

When MessageCreate is called on a poll_result it will give a warning that the message type doesn't exist;

Python Compatibility

Checklist

silasary commented 1 month ago

Please remember to base your PRs on unstable in the future :)