mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
Add and use Red-Commons library (#5624)
* update RC dep * welp 100% tested * fix import * 120% tested * Call _early_init even earlier Not really in scope of this PR but the original was merged before I could share any feedback. * explicitly import getLogger Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
from redbot import _early_init
|
||||
|
||||
# this needs to be called as early as possible
|
||||
_early_init()
|
||||
|
||||
import asyncio
|
||||
import json
|
||||
import logging
|
||||
@@ -9,10 +13,6 @@ from copy import deepcopy
|
||||
from pathlib import Path
|
||||
from typing import Dict, Any, Optional, Union
|
||||
|
||||
from redbot import _early_init
|
||||
|
||||
_early_init()
|
||||
|
||||
import appdirs
|
||||
import click
|
||||
|
||||
|
||||
Reference in New Issue
Block a user