mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore: bump twilight
This commit is contained in:
parent
2710d1fb2b
commit
19616b6bbb
4 changed files with 1617 additions and 926 deletions
|
|
@ -476,12 +476,14 @@ impl DiscordCache {
|
|||
system_channel_flags: guild.system_channel_flags(),
|
||||
system_channel_id: guild.system_channel_id(),
|
||||
threads: vec![],
|
||||
unavailable: false,
|
||||
unavailable: Some(false),
|
||||
vanity_url_code: guild.vanity_url_code().map(ToString::to_string),
|
||||
verification_level: guild.verification_level(),
|
||||
voice_states: vec![],
|
||||
widget_channel_id: guild.widget_channel_id(),
|
||||
widget_enabled: guild.widget_enabled(),
|
||||
guild_scheduled_events: guild.guild_scheduled_events().to_vec(),
|
||||
max_stage_video_channel_users: guild.max_stage_video_channel_users(),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -183,10 +183,7 @@ pub async fn runner(
|
|||
match event {
|
||||
Event::InteractionCreate(_) => {}
|
||||
Event::MessageCreate(ref m) if m.author.id != our_user_id => {}
|
||||
Event::MessageUpdate(ref m)
|
||||
if let Some(author) = m.author.clone()
|
||||
&& author.id != our_user_id
|
||||
&& !author.bot => {}
|
||||
Event::MessageUpdate(ref m) if m.author.id != our_user_id && !m.author.bot => {}
|
||||
Event::MessageDelete(_) => {}
|
||||
Event::MessageDeleteBulk(_) => {}
|
||||
Event::ReactionAdd(ref r) if r.user_id != our_user_id => {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue