修改彩蛋权重喵~主打一个众生平等喵
Introduced a weighted_choice function for weighted random selection. Refactored the easter_egg function to use weighted_choice for more flexible and controlled message selection, replacing the previous randint-based logic.
在 `easter_egg` 函数中引入了随机数生成逻辑。 现在有20%的概率显示猫娘文本,80%的概率显示一个原有的文本,增加了趣味性。
将数据库的初始化、表结构创建和自动迁移逻辑从配置文件加载时移动到主程序 `raw_main` 函数中。 这一改动旨在解决循环导入问题,并确保数据库在所有配置和核心模块加载完毕后才进行初始化,提高了程序的启动鲁棒性和模块独立性。