(&mut self, item: &PendingCheckGroup)
| 157 | } |
| 158 | |
| 159 | async fn process_item(&mut self, item: &PendingCheckGroup) -> Result<(), ()> { |
| 160 | // TODO: only do this when they have actually changed |
| 161 | // this will be more important when we need to scale it |
| 162 | // but needs to be done before before we go beyond the 100 server mark |
| 163 | self.update_guild_commands(item.guild_id).await?; |
| 164 | Ok(()) |
| 165 | } |
| 166 | |
| 167 | async fn update_guild_commands(&mut self, guild_id: Id<GuildMarker>) -> Result<(), ()> { |
| 168 | let script_commands = self |
no test coverage detected