Skip to content

Commit

Permalink
fix: change context type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
R1D3R175 committed Nov 11, 2023
1 parent a8c7f9d commit 661108d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions module/commands/report.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
"""/report command"""
"""
/report command
"""
from telegram import Update
from telegram.ext import CallbackContext
from telegram.ext import ContextTypes

async def report(update: Update, context: CallbackContext) -> None:
async def report(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
"""
Called by the /report command
Sends a report to the admin group
Expand Down

0 comments on commit 661108d

Please sign in to comment.