feat: add (incomplete) nix flake
dave.py isn't packaged yet. Will try to do this myself but dealing with vcpkg is a bit annoying.
This commit is contained in:
20
errornocord/state.py
Normal file
20
errornocord/state.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import time
|
||||
|
||||
import disnake
|
||||
|
||||
from .utils import LimitedSizeDict
|
||||
|
||||
intents = disnake.Intents.default()
|
||||
intents.message_content = True
|
||||
intents.members = True
|
||||
client = disnake.Client(intents=intents)
|
||||
|
||||
command_cooldowns = LimitedSizeDict()
|
||||
command_locks = LimitedSizeDict()
|
||||
idle_tracker = {"is_idle": False, "last_used": time.time()}
|
||||
kill = {"transcript": False}
|
||||
message_responses = LimitedSizeDict()
|
||||
players = {}
|
||||
sponsorblock_cache = LimitedSizeDict()
|
||||
start_time = time.time()
|
||||
trusted_users = []
|
||||
Reference in New Issue
Block a user