File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1+ import asyncio
12import contextlib
23import datetime
3- import asyncio
44
55import discord
6- from discord .ext import commands , tasks
6+ from discord .ext import commands
77from loguru import logger
88
99from prisma .models import Reminder
@@ -20,7 +20,6 @@ def __init__(self, bot: Tux) -> None:
2020 self .remindme .usage = generate_usage (self .remindme )
2121 self ._initialized = False
2222
23-
2423 async def send_reminder (self , reminder : Reminder ) -> None :
2524 user = self .bot .get_user (reminder .reminder_user_id )
2625 if user is not None :
@@ -68,7 +67,7 @@ async def on_ready(self) -> None:
6867 return
6968
7069 self ._initialized = True
71-
70+
7271 reminders = await self .db .reminder .get_all_reminders ()
7372 dt_now = datetime .datetime .now (datetime .UTC )
7473
@@ -147,7 +146,7 @@ async def remindme(
147146
148147 embed .add_field (
149148 name = "Note" ,
150- value = "- If you have DMs closed, we will attempt to send it in this channel instead.\n "
149+ value = "- If you have DMs closed, we will attempt to send it in this channel instead.\n " ,
151150 )
152151
153152 except Exception as e :
You can’t perform that action at this time.
0 commit comments