mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-09-29 08:41:38 +13:00
14 lines
296 B
Python
14 lines
296 B
Python
|
import json
|
||
|
from pathlib import Path
|
||
|
|
||
|
from .translate import Translate
|
||
|
|
||
|
with open(Path(__file__).parent / "info.json") as fp:
|
||
|
__red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"]
|
||
|
|
||
|
|
||
|
async def setup(bot):
|
||
|
cog = Translate(bot)
|
||
|
await cog.init()
|
||
|
bot.add_cog(cog)
|