"meme" corny as fuck just name it impact
This commit is contained in:
parent
a94fe7d4e4
commit
44af80990c
3 changed files with 5 additions and 8 deletions
2
bot.py
2
bot.py
|
@ -227,7 +227,7 @@ async def talk(ctx: commands.Context, sentence_size: int = 5) -> None:
|
||||||
|
|
||||||
# Command: Generate an image
|
# Command: Generate an image
|
||||||
@bot.hybrid_command(description=f"{(_('command_desc_help'))}")
|
@bot.hybrid_command(description=f"{(_('command_desc_help'))}")
|
||||||
async def meme(ctx: commands.Context) -> None:
|
async def impact(ctx: commands.Context) -> None:
|
||||||
assets_folder: str = "assets/images"
|
assets_folder: str = "assets/images"
|
||||||
temp_input: Optional[str] = None
|
temp_input: Optional[str] = None
|
||||||
|
|
||||||
|
|
|
@ -17,12 +17,10 @@ UPDATE_URL = VERSION_URL+"/latest_version.json"
|
||||||
LOCAL_VERSION_FILE = "current_version.txt"
|
LOCAL_VERSION_FILE = "current_version.txt"
|
||||||
TOKEN = os.getenv("DISCORD_BOT_TOKEN", "0")
|
TOKEN = os.getenv("DISCORD_BOT_TOKEN", "0")
|
||||||
PREFIX = os.getenv("BOT_PREFIX", "g.")
|
PREFIX = os.getenv("BOT_PREFIX", "g.")
|
||||||
hourlyspeak = int(os.getenv("hourlyspeak", "0"))
|
|
||||||
PING_LINE = os.getenv("PING_LINE")
|
PING_LINE = os.getenv("PING_LINE")
|
||||||
CHECKS_DISABLED = os.getenv("CHECKS_DISABLED")
|
CHECKS_DISABLED = os.getenv("CHECKS_DISABLED")
|
||||||
LOCALE = os.getenv("locale", "en")
|
LOCALE = os.getenv("locale", "en")
|
||||||
gooberTOKEN = os.getenv("gooberTOKEN")
|
gooberTOKEN = os.getenv("gooberTOKEN")
|
||||||
cooldown_time = os.getenv("cooldown")
|
|
||||||
splashtext = os.getenv("splashtext")
|
splashtext = os.getenv("splashtext")
|
||||||
ownerid = int(os.getenv("ownerid", "0"))
|
ownerid = int(os.getenv("ownerid", "0"))
|
||||||
showmemenabled = os.getenv("showmemenabled")
|
showmemenabled = os.getenv("showmemenabled")
|
||||||
|
@ -30,14 +28,13 @@ BLACKLISTED_USERS = os.getenv("BLACKLISTED_USERS", "").split(",")
|
||||||
USERTRAIN_ENABLED = os.getenv("USERTRAIN_ENABLED", "true").lower() == "true"
|
USERTRAIN_ENABLED = os.getenv("USERTRAIN_ENABLED", "true").lower() == "true"
|
||||||
NAME = os.getenv("NAME")
|
NAME = os.getenv("NAME")
|
||||||
MEMORY_FILE = "memory.json"
|
MEMORY_FILE = "memory.json"
|
||||||
DEFAULT_DATASET_FILE = "defaultdataset.json"
|
MEMORY_LOADED_FILE = "MEMORY_LOADED" # is this still even used?? okay just checked its used in the markov module
|
||||||
MEMORY_LOADED_FILE = "MEMORY_LOADED"
|
|
||||||
ALIVEPING = os.getenv("ALIVEPING")
|
ALIVEPING = os.getenv("ALIVEPING")
|
||||||
AUTOUPDATE = os.getenv("AUTOUPDATE")
|
AUTOUPDATE = os.getenv("AUTOUPDATE")
|
||||||
IGNOREWARNING = False
|
# IGNOREWARNING = False # is this either??? i don't think so?
|
||||||
song = os.getenv("song")
|
song = os.getenv("song")
|
||||||
arch = platform.machine()
|
arch = platform.machine()
|
||||||
slash_commands_enabled = False
|
slash_commands_enabled = True # 100% broken, its a newer enough version so its probably enabled by default.... fix this at somepoint or hard code it in goober central code
|
||||||
launched = False
|
launched = False
|
||||||
latest_version = "0.0.0"
|
latest_version = "0.0.0"
|
||||||
local_version = "2.0.0"
|
local_version = "2.0.0"
|
||||||
|
|
|
@ -74,7 +74,7 @@ def check_for_update():
|
||||||
print(f"{YELLOW}{_('changelog').format(VERSION_URL=VERSION_URL)}{RESET}")
|
print(f"{YELLOW}{_('changelog').format(VERSION_URL=VERSION_URL)}{RESET}")
|
||||||
auto_update()
|
auto_update()
|
||||||
elif local_version > latest_version and beta == True:
|
elif local_version > latest_version and beta == True:
|
||||||
print(f"{YELLOW}You are running an unstable version of Goober, do not expect it to work properly.\nVersion {local_version}{RESET}")
|
print(f"{YELLOW}You are running an \"unstable\" version of Goober, do not expect it to work properly.\nVersion {local_version}{RESET}")
|
||||||
elif local_version > latest_version:
|
elif local_version > latest_version:
|
||||||
print(f"{YELLOW}{_('modification_warning')}{RESET}")
|
print(f"{YELLOW}{_('modification_warning')}{RESET}")
|
||||||
elif local_version == latest_version:
|
elif local_version == latest_version:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue