mirror of
https://github.com/house-of-vanity/desubot.git
synced 2025-07-08 13:04:06 +00:00
Merge
This commit is contained in:
@ -549,7 +549,7 @@ impl Execute for Omedeto {
|
||||
|
||||
#[async_trait]
|
||||
impl Execute for Code {
|
||||
async fn run(&self, api: &Api, message: &Message) -> Result<(), Error> {
|
||||
async fn exec(&self, api: &Api, message: &Message) -> Result<(), Error> {
|
||||
let lang = "Rust";
|
||||
let theme = "Dracula";
|
||||
let code = &self.data;
|
||||
@ -562,7 +562,11 @@ impl Execute for Code {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn run_mystem(
|
||||
async fn exec_with_result(&self, api: &Api, message: &Message) -> Result<String, Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
async fn exec_mystem(
|
||||
&self,
|
||||
api: &Api,
|
||||
message: &Message,
|
||||
|
Reference in New Issue
Block a user