Skip to content

Commit 2368afc

Browse files
committed
Fix typo
1 parent f8311f4 commit 2368afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ async def get_context(self, message, *, cls=commands.Context):
223223
return ctx
224224

225225
async def on_message(self, message):
226-
if m.type == discord.MessageType.pins_add and m.author == self.user:
226+
if message.type == discord.MessageType.pins_add and message.author == self.user:
227227
await message.delete()
228228
if message.author.bot:
229229
return

0 commit comments

Comments
 (0)