im having a mental breakdown trying to remember what i did

This commit is contained in:
2025-02-06 20:25:15 +01:00
parent db1b94119a
commit 8186e4e75f
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -3,8 +3,8 @@ mod bk_week_cmds;
mod events;
mod messages;
mod python;
mod reddit_data;
mod macros;
mod python_comms;
use std::env;
use std::process;
-6
View File
@@ -2,7 +2,6 @@ import sys
import bot as botPy
import data
import posts
from macros import *
@@ -13,10 +12,5 @@ def main():
py_print("Reading data...")
data.read_data(bot)
# TEMPORARY, will be replaced with a
# schedule and/or Discord bot command
# config file or options ^
posts.add_new_posts(bot)
main()
+1 -1
View File
@@ -11,7 +11,7 @@ def add_new_posts(bot: botPy.Bot, debug_print: bool = False):
py_print("Fetching posts...")
posts = reddit.fetch_posts_with_flair(bot, "Original Art")
py_print("Evaluating posts...\n")
py_print("Evaluating posts...")
added_posts = 0
without_media = 0
-1
View File
@@ -1 +0,0 @@
# communicate with rust.
+7 -1
View File
@@ -1 +1,7 @@
// communicate with python
use serde_json::Value;
fn fetch_data() {
// tell python to update JSON
// read JSON
return;
}
View File