|
|
@ -2,10 +2,13 @@
|
|
|
|
# Edited by F4stZ4p
|
|
|
|
# Edited by F4stZ4p
|
|
|
|
|
|
|
|
|
|
|
|
import asyncio
|
|
|
|
import asyncio
|
|
|
|
|
|
|
|
import datetime
|
|
|
|
|
|
|
|
|
|
|
|
import discord
|
|
|
|
import discord
|
|
|
|
from discord.ext.commands import Cog
|
|
|
|
from discord.ext.commands import Cog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from settings import enso_embedmod_colours
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CannotPaginate(Exception):
|
|
|
|
class CannotPaginate(Exception):
|
|
|
|
pass
|
|
|
|
pass
|
|
|
@ -52,7 +55,8 @@ class Pages:
|
|
|
|
if left_over:
|
|
|
|
if left_over:
|
|
|
|
pages += 1
|
|
|
|
pages += 1
|
|
|
|
self.maximum_pages = pages
|
|
|
|
self.maximum_pages = pages
|
|
|
|
self.embed = discord.Embed(colour=0xff0000) # any HEX color here
|
|
|
|
self.embed = discord.Embed(colour=enso_embedmod_colours,
|
|
|
|
|
|
|
|
timestamp=datetime.datetime.utcnow()) # any HEX color here
|
|
|
|
self.paginating = len(entries) > per_page
|
|
|
|
self.paginating = len(entries) > per_page
|
|
|
|
self.show_entry_count = show_entry_count
|
|
|
|
self.show_entry_count = show_entry_count
|
|
|
|
self.reaction_emojis = [
|
|
|
|
self.reaction_emojis = [
|
|
|
|