set log level to info; increase cache size to 300M
This commit is contained in:
parent
6078136478
commit
4ad40c3ddd
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ from .messages import MessageHandler
|
||||||
from .cache import Cache
|
from .cache import Cache
|
||||||
|
|
||||||
discord.utils.setup_logging()
|
discord.utils.setup_logging()
|
||||||
logging.getLogger("ari").setLevel(logging.DEBUG)
|
logging.getLogger("ari").setLevel(logging.INFO)
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ class Bot(discord.Client):
|
||||||
super().__init__(intents=intents)
|
super().__init__(intents=intents)
|
||||||
self.tree = app_commands.CommandTree(self)
|
self.tree = app_commands.CommandTree(self)
|
||||||
self.message_handler = MessageHandler(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] = {}
|
self.players: Dict[int, Player] = {}
|
||||||
|
|
||||||
async def setup_hook(self) -> None:
|
async def setup_hook(self) -> None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue