Skip to content

Commit

Permalink
fix: Exception imports for caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Skelmis committed Feb 4, 2024
1 parent eb03f25 commit be04a8e
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion suggestions/cogs/blacklist_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import TYPE_CHECKING

import disnake
from bot_base import NonExistentEntry
from commons.caching import NonExistentEntry
from disnake.ext import commands

from suggestions.objects import GuildConfig, Suggestion
Expand Down
3 changes: 0 additions & 3 deletions suggestions/cogs/help_guild_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
import datetime
import io
import logging
import os
import typing
from typing import TYPE_CHECKING, Optional

import aiohttp
import disnake
from alaric import AQ
from alaric.comparison import EQ
Expand Down
2 changes: 1 addition & 1 deletion suggestions/cogs/suggestion_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import cooldowns
import disnake
from bot_base import NonExistentEntry
from commons.caching import NonExistentEntry
from bot_base.wraps import WrappedChannel
from disnake import Guild, Localized
from disnake.ext import commands, components
Expand Down
2 changes: 1 addition & 1 deletion suggestions/cogs/view_voters_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import cooldowns
import disnake
from bot_base import NonExistentEntry
from commons.caching import NonExistentEntry
from disnake.ext import commands
from bot_base.paginators.disnake_paginator import DisnakePaginator

Expand Down
2 changes: 1 addition & 1 deletion suggestions/objects/guild_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from alaric import AQ
from alaric.comparison import EQ
from bot_base import NonExistentEntry
from commons.caching import NonExistentEntry

if TYPE_CHECKING:
from suggestions import State
Expand Down
2 changes: 1 addition & 1 deletion suggestions/objects/stats/member_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from alaric import AQ
from alaric.comparison import EQ
from alaric.logical import AND
from bot_base import NonExistentEntry
from commons.caching import NonExistentEntry

from .member_command_stats import MemberCommandStats

Expand Down
2 changes: 1 addition & 1 deletion suggestions/objects/user_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from alaric import AQ
from alaric.comparison import EQ
from bot_base import NonExistentEntry
from commons.caching import NonExistentEntry

if TYPE_CHECKING:
from suggestions import State
Expand Down

0 comments on commit be04a8e

Please sign in to comment.