mirror of
https://github.com/ethanrusz/echbot.git
synced 2024-11-22 04:07:46 -05:00
Set activity status and fix command reg
This commit is contained in:
parent
c9a2a6ca8d
commit
a7599f55e1
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
mod commands;
|
||||
|
||||
use poise::serenity_prelude as serenity;
|
||||
|
||||
mod commands;
|
||||
|
||||
struct Data {}
|
||||
|
||||
type Error = Box<dyn std::error::Error + Send + Sync>;
|
||||
|
@ -29,6 +29,9 @@ async fn main() {
|
|||
),
|
||||
)
|
||||
.await?; // Update slash commands in GID
|
||||
|
||||
ctx.set_activity(serenity::Activity::playing("SMITE")).await;
|
||||
|
||||
Ok(Data {})
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue