revert fireboard, it doesnt work
idk what the version should be i just did `2.1.1`
This commit is contained in:
parent
4458cd051b
commit
92624a4c12
5 changed files with 1 additions and 1773 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -12,6 +12,3 @@ received_memory.json
|
||||||
translation_report.txt
|
translation_report.txt
|
||||||
translationcompleteness.py
|
translationcompleteness.py
|
||||||
modules/volta
|
modules/volta
|
||||||
fireboard.db
|
|
||||||
fireboard.db-shm
|
|
||||||
fireboard.db-wal
|
|
File diff suppressed because it is too large
Load diff
11
bot.py
11
bot.py
|
@ -63,9 +63,6 @@ bot: commands.Bot = commands.Bot(
|
||||||
allowed_mentions=discord.AllowedMentions(everyone=False, roles=False, users=False, replied_user=True)
|
allowed_mentions=discord.AllowedMentions(everyone=False, roles=False, users=False, replied_user=True)
|
||||||
)
|
)
|
||||||
|
|
||||||
# Initialize database pool for fireboard functionality
|
|
||||||
bot.fireboard_pool = None
|
|
||||||
|
|
||||||
# Load memory and Markov model for text generation
|
# Load memory and Markov model for text generation
|
||||||
memory: List[str] = load_memory()
|
memory: List[str] = load_memory()
|
||||||
markov_model: Optional[markovify.Text] = load_markov_model()
|
markov_model: Optional[markovify.Text] = load_markov_model()
|
||||||
|
@ -119,14 +116,6 @@ async def on_ready() -> None:
|
||||||
if launched:
|
if launched:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Initialize database pool for fireboard functionality
|
|
||||||
try:
|
|
||||||
bot.fireboard_pool = await asqlite.create_pool("fireboard.db")
|
|
||||||
print(f"{GREEN}Database pool initialized successfully{RESET}")
|
|
||||||
except Exception as e:
|
|
||||||
print(f"{RED}Failed to initialize database pool: {e}{RESET}")
|
|
||||||
bot.fireboard_pool = None
|
|
||||||
|
|
||||||
await load_cogs_from_folder(bot)
|
await load_cogs_from_folder(bot)
|
||||||
try:
|
try:
|
||||||
synced: List[discord.app_commands.AppCommand] = await bot.tree.sync()
|
synced: List[discord.app_commands.AppCommand] = await bot.tree.sync()
|
||||||
|
|
|
@ -37,7 +37,7 @@ arch = platform.machine()
|
||||||
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
|
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.1.0"
|
local_version = "2.1.1"
|
||||||
os.environ['gooberlocal_version'] = local_version
|
os.environ['gooberlocal_version'] = local_version
|
||||||
REACT = os.getenv("REACT")
|
REACT = os.getenv("REACT")
|
||||||
beta = False # this makes goober think its a beta version, so it will not update to the latest stable version or run any version checks
|
beta = False # this makes goober think its a beta version, so it will not update to the latest stable version or run any version checks
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
- The catbox.moe team for memory.json file uploads
|
- The catbox.moe team for memory.json file uploads
|
||||||
- Charlie's Computers
|
- Charlie's Computers
|
||||||
- ctih1
|
- ctih1
|
||||||
- RestartB (for the Fireboard cog from his Titanium bot)
|
|
||||||
- Claude 4 Sonnet (for slightly modifying main.py and fireboard.py to work with Goober)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue