From f73d0b89d2fc85e7d2f8b212ecf525e6418082e4 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Fri, 15 Jun 2018 01:42:43 -0800 Subject: [PATCH] Added emojis for Paginator --- src/__main__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/__main__.py b/src/__main__.py index 776b3d7..29d273d 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -20,6 +20,7 @@ from src.config.config import LoadConfig from src.shared_libs.loggable import Loggable from src.shared_libs.ioutils import in_here from src.shared_libs import database +from typing import Dict # Init logging to output on INFO level to stderr. @@ -56,6 +57,15 @@ class SebiMachine(commands.Bot, LoadConfig, Loggable): with open(in_here('config', 'PrivateConfig.json')) as fp: self.bot_secrets = json.load(fp) self.db_con = database.DatabaseConnection(**self.bot_secrets['db-con']) + self.book_emojis: Dict[str, str] = { + 'unlock': '🔓', + 'start': '⏮', + 'back': '◀', + 'hash': '#\N{COMBINING ENCLOSING KEYCAP}', + 'forward': '▶', + 'end': '⏭', + 'close': '🇽', + } # Load plugins # Add your cog file name in this list