Skip to content

Commit db55e4b

Browse files
committed
fix note clear
1 parent fc37280 commit db55e4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

techsupport_bot/commands/notes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ async def clear_notes(
230230
interaction (discord.Interaction): The interaction that called this command
231231
user (discord.Member): The member to remove all notes from
232232
"""
233-
notes = await self.get_notes(user, interaction.guild)
233+
notes = await moderation.get_all_notes(self.bot, user, interaction.guild)
234234

235235
if not notes:
236236
embed = auxiliary.prepare_deny_embed(

0 commit comments

Comments
 (0)