Skip to content

Commit

Permalink
fix: Explicit Typing import for v <3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
awsdcrafting committed Jan 24, 2024
1 parent 80ad609 commit 53c09c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord_bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
import json
import re
from typing import Optional
from typing import Optional, List
from dataclasses import dataclass

import discord
Expand All @@ -20,7 +20,7 @@
tree = app_commands.CommandTree(client)
github: Github
repo: Repository
allowed_roles:list[int]|None = None
allowed_roles: List[int]|None = None

state_file_path = "./state.json"
state = {}
Expand Down

0 comments on commit 53c09c8

Please sign in to comment.