This commit is contained in:
parent
695922e3b6
commit
2aa027159e
2183
Cargo.lock
generated
2183
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -23,12 +23,12 @@ serde = { version = "1.0.219", features = ["serde_derive"] }
|
|||||||
serde_json = "1.0.140"
|
serde_json = "1.0.140"
|
||||||
roux = "2.2.13"
|
roux = "2.2.13"
|
||||||
structstruck = "0.5.0"
|
structstruck = "0.5.0"
|
||||||
reqwest = { version = "0.12.15", features = ["json"] }
|
reqwest = { version = "0.13.1", features = ["json"] }
|
||||||
octocrab = { version = "0.44.1", optional = true }
|
octocrab = { version = "0.49.5", optional = true }
|
||||||
tempfile = { version = "3.20.0", optional = true }
|
tempfile = { version = "3.20.0", optional = true }
|
||||||
self-replace = { version = "1.5.0", optional = true }
|
self-replace = { version = "1.5.0", optional = true }
|
||||||
zip = { version = "4.2.0", optional = true }
|
zip = { version = "7.2.0", optional = true }
|
||||||
nix = { version = "0.30.1", features = ["process"], optional = true }
|
nix = { version = "0.31.1", features = ["process"], optional = true }
|
||||||
minreq = { version = "2.14.0", features = ["https"], optional = true }
|
minreq = { version = "2.14.0", features = ["https"], optional = true }
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,12 +2,7 @@ use std::time::Duration;
|
|||||||
|
|
||||||
use crate::Context;
|
use crate::Context;
|
||||||
use crate::Error;
|
use crate::Error;
|
||||||
|
|
||||||
use poise::serenity_prelude::CacheHttp;
|
|
||||||
use poise::serenity_prelude::ShardMessenger;
|
|
||||||
use poise::serenity_prelude::client;
|
|
||||||
use poise::serenity_prelude as serenity;
|
use poise::serenity_prelude as serenity;
|
||||||
use poise::serenity_prelude::futures::TryFutureExt;
|
|
||||||
use rand::seq::IndexedRandom;
|
use rand::seq::IndexedRandom;
|
||||||
use rand::Rng;
|
use rand::Rng;
|
||||||
|
|
||||||
@ -187,7 +182,7 @@ pub async fn deer(ctx: Context<'_>) -> Result<(), Error> {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Deer game! First to react wins.
|
/// Deer game: look at the deer
|
||||||
#[poise::command(slash_command, global_cooldown = 20)]
|
#[poise::command(slash_command, global_cooldown = 20)]
|
||||||
pub async fn game(ctx: Context<'_>) -> Result<(), Error> {
|
pub async fn game(ctx: Context<'_>) -> Result<(), Error> {
|
||||||
ctx.say("Deer game! React to the :deer: first to win.")
|
ctx.say("Deer game! React to the :deer: first to win.")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user