Method
send_loaded_script
(&self, guild_id: Id<GuildMarker>, script: ScriptMeta)
Source from the content-addressed store, hash-verified
| 24 | |
| 25 | impl Handle { |
| 26 | pub fn send_loaded_script(&self, guild_id: Id<GuildMarker>, script: ScriptMeta) { |
| 27 | self.send_loaded_script |
| 28 | .send(CommandManagerCommand { |
| 29 | guild_id, |
| 30 | kind: CommandManagerCommandType::ScriptLoaded(script), |
| 31 | }) |
| 32 | .ok(); |
| 33 | } |
| 34 | |
| 35 | pub fn send_no_scripts_enabled(&self, guild_id: Id<GuildMarker>) { |
| 36 | self.send_loaded_script |
Tested by
no test coverage detected