Don't set activity in ready event

This commit is contained in:
jude
2024-07-07 16:31:23 +01:00
parent 218be2f0b1
commit b5dbfe336d
2 changed files with 5 additions and 5 deletions

View File

@@ -13,9 +13,6 @@ pub async fn listener(
data: &Data,
) -> Result<(), Error> {
match event {
FullEvent::Ready { .. } => {
ctx.set_activity(Some(ActivityData::watching("for /remind")));
}
FullEvent::ChannelDelete { channel, .. } => {
sqlx::query!("DELETE FROM channels WHERE channel = ?", channel.id.get())
.execute(&data.database)