initial_bot #1

Open
eoghanconlon73 wants to merge 4 commits from initial_bot into main
3 changed files with 1 additions and 15 deletions
Showing only changes of commit 7cfd73cd95 - Show all commits

12
Cargo.lock generated
View file

@ -222,7 +222,6 @@ version = "0.1.0"
dependencies = [
"dotenv",
"serenity",
"tokio",
]
[[package]]
@ -1365,15 +1364,6 @@ version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "signal-hook-registry"
version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
dependencies = [
"libc",
]
[[package]]
name = "skeptic"
version = "0.13.7"
@ -1588,9 +1578,7 @@ dependencies = [
"bytes",
"libc",
"mio",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"socket2",
"tokio-macros",
"windows-sys 0.52.0",

View file

@ -6,4 +6,3 @@ edition = "2021"
[dependencies]
dotenv = "0.15.0"
serenity = "0.12.4"
tokio = { version = "1.42.0", features = ["full"] }

View file

@ -1,6 +1,5 @@
use dotenv::dotenv;
#[tokio::main]
async fn main() {
fn main() {
dotenv().ok();
let token = std::env::var("TOKEN").expect("TOKEN must be set");
}