Compare commits
No commits in common. "313b6ecfa9047775f0475eb121772ef493132be9" and "e01cfe472e12a89f2ecb23a00facc115786dac33" have entirely different histories.
313b6ecfa9
...
e01cfe472e
1 changed files with 17 additions and 16 deletions
|
@ -1,10 +1,11 @@
|
||||||
//! A module about editing and messing around with user text
|
//! A module about editing and messing around with user text
|
||||||
//!
|
//!
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
use std::os::windows::thread;
|
||||||
|
use std::string;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use rand::{thread_rng, Rng};
|
use rand::{thread_rng, Rng};
|
||||||
use rand::seq::SliceRandom;
|
use rand::seq::SliceRandom;
|
||||||
use twitch_irc::message::ReplyToMessage;
|
|
||||||
|
|
||||||
use crate::core::bot_actions::{actions_util, ExecBodyParams};
|
use crate::core::bot_actions::{actions_util, ExecBodyParams};
|
||||||
use crate::core::botinstance::Channel;
|
use crate::core::botinstance::Channel;
|
||||||
|
@ -110,11 +111,11 @@ pub async fn init(mgr: Arc<ModulesManager>) {
|
||||||
botlock
|
botlock
|
||||||
.botmgrs
|
.botmgrs
|
||||||
.chat
|
.chat
|
||||||
.say_in_reply(
|
.say_in_reply_to(
|
||||||
Channel(params.clone().msg.channel_login().to_string()),
|
¶ms.msg,
|
||||||
botreply,
|
botreply,
|
||||||
params.clone()
|
params.clone()
|
||||||
).await;
|
).await;
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -132,10 +133,10 @@ pub async fn init(mgr: Arc<ModulesManager>) {
|
||||||
botlock
|
botlock
|
||||||
.botmgrs
|
.botmgrs
|
||||||
.chat
|
.chat
|
||||||
.say_in_reply(
|
.say_in_reply_to(
|
||||||
Channel(params.clone().msg.channel_login().to_string()),
|
¶ms.msg,
|
||||||
shuffle_word,
|
shuffle_word,
|
||||||
params.clone()
|
params.clone()
|
||||||
).await;
|
).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -174,10 +175,10 @@ pub async fn init(mgr: Arc<ModulesManager>) {
|
||||||
botlock
|
botlock
|
||||||
.botmgrs
|
.botmgrs
|
||||||
.chat
|
.chat
|
||||||
.say_in_reply(
|
.say_in_reply_to(
|
||||||
Channel(params.clone().msg.channel_login().to_string()),
|
¶ms.msg,
|
||||||
bot_reply,
|
bot_reply,
|
||||||
params.clone()
|
params.clone()
|
||||||
).await;
|
).await;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -192,8 +193,8 @@ pub async fn init(mgr: Arc<ModulesManager>) {
|
||||||
botlock
|
botlock
|
||||||
.botmgrs
|
.botmgrs
|
||||||
.chat
|
.chat
|
||||||
.say_in_reply(
|
.say_in_reply_to(
|
||||||
Channel(params.clone().msg.channel_login().to_string()),
|
¶ms.msg,
|
||||||
String::from("Forsen!"),
|
String::from("Forsen!"),
|
||||||
params.clone()
|
params.clone()
|
||||||
).await;
|
).await;
|
||||||
|
@ -225,8 +226,8 @@ pub async fn init(mgr: Arc<ModulesManager>) {
|
||||||
botlock
|
botlock
|
||||||
.botmgrs
|
.botmgrs
|
||||||
.chat
|
.chat
|
||||||
.say_in_reply(
|
.say_in_reply_to(
|
||||||
Channel(params.clone().msg.channel_login().to_string()),
|
¶ms.msg,
|
||||||
bot_reply.clone(),
|
bot_reply.clone(),
|
||||||
params.clone()
|
params.clone()
|
||||||
).await;
|
).await;
|
||||||
|
|
Loading…
Reference in a new issue