order by ID descending

This commit is contained in:
2022-09-15 13:16:05 +01:00
parent 5ce9ca3923
commit 64e7eb4a53
2 changed files with 7 additions and 11 deletions

View File

@ -132,13 +132,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
.token(discord_token)
.user_data_setup(move |ctx, _bot, framework| {
Box::pin(async move {
register_application_commands(
ctx,
framework,
None,
)
.await
.unwrap();
register_application_commands(ctx, framework, None)
.await
.unwrap();
Ok(Data {
http: reqwest::Client::new(),