Skip to content

Commit b896cb5

Browse files
committed
Merge branch 'Cordila-development' into development
2 parents e3571cd + 6d14fa3 commit b896cb5

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ async def get_context(self, message, *, cls=commands.Context):
10991099
view = StringView(message.content)
11001100
ctx = cls(prefix=self.prefix, view=view, bot=self, message=message)
11011101

1102-
if self._skip_check(message.author.id, self.user.id):
1102+
if message.author.id == self.user.id:
11031103
return ctx
11041104

11051105
ctx.thread = await self.threads.find(channel=ctx.channel)

core/thread.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ async def setup(self, *, creator=None, category=None, initial_message=None):
196196
log_url = log_count = None
197197
# ensure core functionality still works
198198

199-
await channel.edit(topic=f"User ID: {recipient.id}")
200199
self.ready = True
201200

202201
if creator is not None and creator != recipient:

core/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ async def create_thread_channel(bot, recipient, category, overwrites, *, name=No
432432
name=name,
433433
category=category,
434434
overwrites=overwrites,
435+
topic=f"User ID: {recipient.id}",
435436
reason="Creating a thread channel.",
436437
)
437438
except discord.HTTPException as e:

0 commit comments

Comments
 (0)