Logo
Explore Help
Sign In
phundrak/p4bl0t
phundrak/p4bl0t
1
0
Fork 0
You've already forked p4bl0t
Code Issues 4 Pull Requests Actions Packages Projects 2 Releases Wiki Activity
p4bl0t/src/main.rs

20 lines
315 B
Rust
Raw Normal View History

feat: add listing logger channels in a guild This commit also allows in the database to hold more than one channel per guild and introduces clippy linting. Closes #2 BREAKING CHANGES: The database schema changed from its root. All databases should be dropped and recreated before running this new version.
2023-11-23 22:15:47 +01:00
#![warn(clippy::style, clippy::pedantic)]
initial commit
2023-11-22 21:38:21 +01:00
mod utils;
mod db;
mod discord;
use std::error::Error;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
dotenvy::dotenv()?;
color_eyre::install()?;
utils::setup_logging();
feat: add listing logger channels in a guild This commit also allows in the database to hold more than one channel per guild and introduces clippy linting. Closes #2 BREAKING CHANGES: The database schema changed from its root. All databases should be dropped and recreated before running this new version.
2023-11-23 22:15:47 +01:00
let bot = discord::make_bot();
initial commit
2023-11-22 21:38:21 +01:00
bot.run().await?;
Ok(())
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 34ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API