Updated dependencies
Updated formatting file Changed the command line argument system Updated error checking and matching logic to be easier to work with Moved groups of functions to more correct modules Updated the constants.rs file and added a help string for use with the new argument system Disabled lua for now, the rust side of the bot takes priority Changed the shutdown handler to be easier to work with Added shutdown monitor task that gets started after the bot is ready, allowing a graceful shutdown from anywhere in the program, authentication is expected to be handled at the place of calling, not within the shutdown function Added a basic database interface, SQLite will be implemented first as it is the simplest and most useful to the spiff team
This commit is contained in:
parent
991feb82a1
commit
578918b22f
18 changed files with 1564 additions and 644 deletions
11
src/databases/postgres.rs
Normal file
11
src/databases/postgres.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use std::process::exit;
|
||||
|
||||
use tracing::error;
|
||||
|
||||
pub fn create_interface() -> Result<(), Box<dyn std::error::Error>> {
|
||||
//warn!("You must provide both a username and password via `dbuser` and `dbpass`");
|
||||
//exit(-1);
|
||||
|
||||
error!("Sorry! this database kind is not implemented right now.");
|
||||
exit(-1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue