Skip to content

Commit

Permalink
Changelog+Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbndr committed Apr 3, 2023
1 parent f5f25b5 commit 51a023c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s
### Breaking

- Presence intent is now by-default OFF. You can turn it on by setting `ENABLE_PRESENCE_INTENT=true` in the environment variables.
- Using Buttons instead of reactions in ´´confirm_thread_creation``.

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions core/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ async def create(
view=view
)
await view.wait()
if view.value == None:
if view.value is None:
thread.cancelled = True
self.bot.loop.create_task(
destination.send(
Expand All @@ -1443,7 +1443,7 @@ async def create(
)
)
await confirm.edit(view=None)
if view.value == False:
if view.value is False:
thread.cancelled = True
self.bot.loop.create_task(
destination.send(
Expand Down

0 comments on commit 51a023c

Please sign in to comment.