Fix SOUNDDIR being in the wrong file
Some checks failed
Build Heidi Docker image / build-docker (push) Failing after 17s
Some checks failed
Build Heidi Docker image / build-docker (push) Failing after 17s
This commit is contained in:
3
bot.py
3
bot.py
@ -243,9 +243,6 @@ async def choose(interaction: Interaction, option_a: str, option_b: str) -> None
|
||||
# Sounds -----------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
SOUNDDIR: str = "/sounds" if DOCKER else "./heidi-sounds"
|
||||
|
||||
|
||||
async def board_autocomplete(
|
||||
interaction: Interaction, current: str
|
||||
) -> List[Choice[str]]:
|
||||
|
@ -5,6 +5,8 @@ from dotenv import load_dotenv
|
||||
# This is run when this file is imported
|
||||
load_dotenv()
|
||||
|
||||
print("Debug: Importing heidi_constants.py")
|
||||
|
||||
|
||||
# ================================================================================================ #
|
||||
# ================================================================================================ #
|
||||
@ -17,6 +19,8 @@ DOCKER = os.getenv("DOCKER") == "True"
|
||||
CONFIGPATH = "/config" if DOCKER else "."
|
||||
USERCONFIGNAME = "Heidi_User.conf"
|
||||
|
||||
SOUNDDIR: str = "/sounds" if DOCKER else "./heidi-sounds"
|
||||
|
||||
# IDs of the servers Heidi is used on
|
||||
LINUS_GUILD = discord.Object(id=431154792308408340)
|
||||
TEST_GUILD = discord.Object(id=821511861178204161)
|
||||
|
@ -4,6 +4,9 @@ from typing import Union
|
||||
import discord
|
||||
from discord import Interaction, VoiceChannel, Member
|
||||
|
||||
from heidi_constants import *
|
||||
|
||||
print("Debug: Importing heidi_helpers.py")
|
||||
|
||||
async def play_voice_line(
|
||||
interaction: Union[Interaction, None],
|
||||
|
Reference in New Issue
Block a user