-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathimports.py
More file actions
32 lines (29 loc) · 771 Bytes
/
imports.py
File metadata and controls
32 lines (29 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Common imports used across the project
# Organized by category for better maintainability
# Standard Library
import asyncio
import atexit
import json
import logging
import math
import os
import random
import signal
import statistics
import sys
import time
import traceback
from datetime import datetime
from os import system
from pathlib import Path
from dataclasses import dataclass
from typing import Dict, List, Tuple, Optional
# Third Party Libraries
import aiohttp
import discord
import requests
from discord.ext import commands, tasks
# Project Utilities
from utils.command_tracker import usage_tracker
from utils.tos_handler import check_tos_acceptance, prompt_tos_acceptance
from utils.scalability import initialize_scalability