Add cat pun loading messages
This commit is contained in:
parent
30ffacfef0
commit
90c65693de
3 changed files with 36 additions and 3 deletions
|
@ -81,9 +81,13 @@ pub async fn play(
|
|||
}
|
||||
|
||||
if let Some(handler_lock) = manager.get(guild.id) {
|
||||
let response = ctx
|
||||
.send(|r| r.content("https://media.giphy.com/media/H1dxi6xdh4NGQCZSvz/giphy.gif"))
|
||||
.await?;
|
||||
let mut msg = MessageBuilder::new();
|
||||
msg.push_line(String::from(openai::get_random_loading_message()))
|
||||
.push_named_link(
|
||||
"",
|
||||
"https://media.giphy.com/media/H1dxi6xdh4NGQCZSvz/giphy.gif",
|
||||
);
|
||||
let response = ctx.send(|r| r.content(msg.build())).await?;
|
||||
|
||||
let mut handler = handler_lock.lock().await;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue