feat: implement bots including tests

this starts work on #78
This commit is contained in:
Paul Makles
2023-04-22 14:25:02 +01:00
parent 56ead0f894
commit 6b10385c0d
11 changed files with 311 additions and 31 deletions

View File

@@ -6,7 +6,11 @@ pub use bots::*;
use crate::{Database, MongoDb, ReferenceDb};
pub trait AbstractDatabase: Sync + Send + admin_migrations::AbstractMigrations {}
pub trait AbstractDatabase:
Sync + Send + admin_migrations::AbstractMigrations + bots::AbstractBots
{
}
impl AbstractDatabase for ReferenceDb {}
impl AbstractDatabase for MongoDb {}