mirror of
https://github.com/mii443/ncb-tts-r2.git
synced 2025-08-22 16:15:29 +00:00
change log level, remove unused import
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
use crate::{
|
use crate::{
|
||||||
database::database::Database,
|
database::database::Database,
|
||||||
tts::{gcp_tts::gcp_tts::GCPTTS, tts::TTS, voicevox::voicevox::VOICEVOX},
|
tts::tts::TTS,
|
||||||
};
|
};
|
||||||
use serenity::{
|
use serenity::{
|
||||||
futures::lock::Mutex,
|
futures::lock::Mutex,
|
||||||
|
@ -43,7 +43,7 @@ async fn create_client(prefix: &str, token: &str, id: u64) -> Result<Client, ser
|
|||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
tracing_subscriber::fmt().with_max_level(Level::DEBUG).init();
|
tracing_subscriber::fmt().with_max_level(Level::INFO).init();
|
||||||
// Load config
|
// Load config
|
||||||
let config = {
|
let config = {
|
||||||
let config = std::fs::read_to_string("./config.toml");
|
let config = std::fs::read_to_string("./config.toml");
|
||||||
|
Reference in New Issue
Block a user