mirror of
https://github.com/Noratrieb/discord-court-bot.git
synced 2026-01-16 19:05:01 +01:00
migrate prison commands to poise
This commit is contained in:
parent
d6e6ab9699
commit
31255d4a52
4 changed files with 192 additions and 88 deletions
|
|
@ -6,13 +6,15 @@ mod model;
|
|||
|
||||
use std::env;
|
||||
|
||||
use color_eyre::{eyre::WrapErr, Result};
|
||||
use color_eyre::{eyre::WrapErr, Report, Result};
|
||||
use serenity::{model::prelude::*, prelude::*};
|
||||
use tracing::info;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
|
||||
use crate::{handler::Handler, model::Mongo};
|
||||
|
||||
type Context<'a> = poise::Context<'a, Handler, Report>;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
color_eyre::install()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue