diff --git a/.rustfmt.toml b/.rustfmt.toml index e69de29..bcb9135 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -0,0 +1,5 @@ +# Repo consistant format configuration + +indent_style = "Visual" #default is Block +control_brace_style = "AlwaysSameLine" #default +fn_args_density = "Compressed" #default is Tall \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 703508e..270eff4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,19 +5,15 @@ authors = ["Connor Postma "] edition = "2018" [dependencies] +# The Discord API crate +ferriscord = { directory = "../ferriscord/"} # Debug logging -env_logger = "0.6.1" -# Helper to retreive +env_logger = "0.6" +# Helper to retreive .env dotenv = "0.14" # The most fun web and actor system framework actix = "0.8.1" actix-web = "1.0.0-beta.3" actix-rt = "0.2.2" -# A handle bars based html engine. Very fast, and includes templates on compile time -yarte = { version = "0.2", features = ["with-actix-web"] } -# Serialization -serde = "1.0" -serde_derive = "1.0" -serde_json = "1.0" # An adorable little crustacean that just want's to say hello ferris_says = "0.1.1" \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 77b831e..0f86ce0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,6 @@ fn main() { // Initialize a new bot connection let con = discord_api::Connection::new(bot_token) .with_prefix('!') // the prefix to listen to for commands - .with_default_help() // a default auto generated !help command .with_commands(say, ping) // register the bot's commands .with_events(on_ready, on_message) // register all event callbacks .run(); // start the bot