Skip to content

Commit 51a023c

Browse files
committed
Changelog+Small fixes
1 parent f5f25b5 commit 51a023c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s
2020
### Breaking
2121

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

2425
### Fixed
2526

core/thread.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ async def create(
14311431
view=view
14321432
)
14331433
await view.wait()
1434-
if view.value == None:
1434+
if view.value is None:
14351435
thread.cancelled = True
14361436
self.bot.loop.create_task(
14371437
destination.send(
@@ -1443,7 +1443,7 @@ async def create(
14431443
)
14441444
)
14451445
await confirm.edit(view=None)
1446-
if view.value == False:
1446+
if view.value is False:
14471447
thread.cancelled = True
14481448
self.bot.loop.create_task(
14491449
destination.send(

0 commit comments

Comments
 (0)