From 0f5c5eac9dedc707c06c12c5dedb20846bda4d98 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Sun, 6 Sep 2020 23:55:13 -0700 Subject: [PATCH] [Quiz] Move data deletion statement --- quiz/quiz.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quiz/quiz.py b/quiz/quiz.py index 487434f..0b3cde4 100644 --- a/quiz/quiz.py +++ b/quiz/quiz.py @@ -22,10 +22,6 @@ def check_global_setting_admin(): either a bot admin or has the manage_guild permission. """ - async def red_delete_data_for_user(self, **kwargs): - """ Nothing to delete """ - return - async def pred(ctx: commands.Context): author = ctx.author if not await bank.is_global(): @@ -53,6 +49,10 @@ class Quiz(commands.Cog): Originally by Keane for Red v2 """ + async def red_delete_data_for_user(self, **kwargs): + """ Nothing to delete """ + return + def __init__(self, bot): self.bot = bot