migration to JS engine #1
@ -506,6 +506,10 @@ impl BotMessage {
|
|||||||
pub fn is_replace(&self) -> bool {
|
pub fn is_replace(&self) -> bool {
|
||||||
self.replace
|
self.replace
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn get_handler(&self) -> Option<&BotFunction> {
|
||||||
|
self.handler.as_ref()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl BotMessage {
|
impl BotMessage {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user