aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-03-26 22:39:10 +0100
committerGravatar kwzrd <[email protected]>2020-03-26 22:39:10 +0100
commit4e0294f8e7b154608e725c7c7ed5e9803ae13f25 (patch)
treeedc8656e5b0cfb9dd63ac0e25c343fce44c31a37
parentDeseasonify: move exceptions module under utils (diff)
Deseasonify: move pagination module under utils
-rw-r--r--bot/help.py2
-rw-r--r--bot/seasons/evergreen/game.py2
-rw-r--r--bot/seasons/evergreen/movie.py2
-rw-r--r--bot/seasons/evergreen/reddit.py3
-rw-r--r--bot/utils/__init__.py2
-rw-r--r--bot/utils/pagination.py (renamed from bot/pagination.py)0
6 files changed, 5 insertions, 6 deletions
diff --git a/bot/help.py b/bot/help.py
index 7209b71e..e9e1f574 100644
--- a/bot/help.py
+++ b/bot/help.py
@@ -13,7 +13,7 @@ from fuzzywuzzy import fuzz, process
from bot import constants
from bot.bot import SeasonalBot
from bot.constants import Emojis
-from bot.pagination import (
+from bot.utils.pagination import (
FIRST_EMOJI, LAST_EMOJI,
LEFT_EMOJI, LinePaginator, RIGHT_EMOJI,
)
diff --git a/bot/seasons/evergreen/game.py b/bot/seasons/evergreen/game.py
index e6700937..ace77e9d 100644
--- a/bot/seasons/evergreen/game.py
+++ b/bot/seasons/evergreen/game.py
@@ -13,7 +13,7 @@ from discord.ext.commands import Cog, Context, group
from bot.bot import SeasonalBot
from bot.constants import STAFF_ROLES, Tokens
from bot.decorators import with_role
-from bot.pagination import ImagePaginator, LinePaginator
+from bot.utils.pagination import ImagePaginator, LinePaginator
# Base URL of IGDB API
BASE_URL = "https://api-v3.igdb.com"
diff --git a/bot/seasons/evergreen/movie.py b/bot/seasons/evergreen/movie.py
index 3c5a312d..93aeef30 100644
--- a/bot/seasons/evergreen/movie.py
+++ b/bot/seasons/evergreen/movie.py
@@ -9,7 +9,7 @@ from discord import Embed
from discord.ext.commands import Bot, Cog, Context, group
from bot.constants import Tokens
-from bot.pagination import ImagePaginator
+from bot.utils.pagination import ImagePaginator
# Define base URL of TMDB
BASE_URL = "https://api.themoviedb.org/3/"
diff --git a/bot/seasons/evergreen/reddit.py b/bot/seasons/evergreen/reddit.py
index 32ca419a..a07e591f 100644
--- a/bot/seasons/evergreen/reddit.py
+++ b/bot/seasons/evergreen/reddit.py
@@ -5,8 +5,7 @@ import discord
from discord.ext import commands
from discord.ext.commands.cooldowns import BucketType
-from bot.pagination import ImagePaginator
-
+from bot.utils.pagination import ImagePaginator
log = logging.getLogger(__name__)
diff --git a/bot/utils/__init__.py b/bot/utils/__init__.py
index 25fd4b96..cb5c9fbe 100644
--- a/bot/utils/__init__.py
+++ b/bot/utils/__init__.py
@@ -7,7 +7,7 @@ from typing import List
import discord
from discord.ext.commands import BadArgument, Context
-from bot.pagination import LinePaginator
+from bot.utils.pagination import LinePaginator
async def disambiguate(
diff --git a/bot/pagination.py b/bot/utils/pagination.py
index 9a7a0382..9a7a0382 100644
--- a/bot/pagination.py
+++ b/bot/utils/pagination.py