Skip to content

Commit

Permalink
Remove shuttle secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Apr 2, 2024
1 parent 955ae95 commit 8d270a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 54 deletions.
55 changes: 4 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ semver = "1.0.22"
iso8601 = "0.6.1"
shuttle-serenity = "0.43.0"
shuttle-runtime = "0.43.0"
shuttle-secrets = "0.42.0"

[dependencies.serenity]
version = "0.12.1"
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serenity::model::prelude::*;
use serenity::prelude::*;

use shuttle_runtime;
use shuttle_secrets::SecretStore;
use shuttle_runtime::SecretStore;
use log::info;
use serenity::all::{CreateEmbed, CreateEmbedFooter, CreateMessage};
use serenity::framework::standard::Configuration;
Expand Down Expand Up @@ -94,7 +94,7 @@ impl EventHandler for Handler {

#[shuttle_runtime::main]
async fn serenity(
#[shuttle_secrets::Secrets] secret_store: SecretStore,
#[shuttle_runtime::Secrets] secret_store: SecretStore,
) -> shuttle_serenity::ShuttleSerenity {
let framework = StandardFramework::new()
.group(&GENERAL_GROUP);
Expand Down

0 comments on commit 8d270a4

Please sign in to comment.