ari

discord music bot
git clone git://git.bain.cz/ari.git
Log | Files | Refs

commit 4ad40c3ddd0968fe4f9ae1d85722e705e02ce2f5
parent 6078136478e787287c95c64cf3d045125d764c9b
Author: bain <bain@bain.cz>
Date:   Sun, 21 Aug 2022 23:23:17 +0200

set log level to info; increase cache size to 300M

Diffstat:
Mari/bot.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ari/bot.py b/ari/bot.py @@ -11,7 +11,7 @@ from .messages import MessageHandler from .cache import Cache discord.utils.setup_logging() -logging.getLogger("ari").setLevel(logging.DEBUG) +logging.getLogger("ari").setLevel(logging.INFO) logger = logging.getLogger(__name__) @@ -25,7 +25,7 @@ class Bot(discord.Client): super().__init__(intents=intents) self.tree = app_commands.CommandTree(self) self.message_handler = MessageHandler(self) - self.music_cache = Cache(self.http, MUSIC_CACHE, max_size=30000000) + self.music_cache = Cache(self.http, MUSIC_CACHE, max_size=300000000) self.players: Dict[int, Player] = {} async def setup_hook(self) -> None: