Skip to content

Commit

Permalink
discord bot: Make taunts slightly more likely to give useful results
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Mar 17, 2022
1 parent 1617ef2 commit b8e31ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord_bot/src/subactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ pub fn subactions(tokens: &[&str], character: &str) -> Vec<&'static str> {
if tokens.contains(&"air") && tokens.contains(&"sideb") { subactions = vec!("SpecialAirS") }

// taunts
if tokens.contains(&"utaunt") { subactions = vec!("AppealHi") }
if tokens.contains(&"dtaunt") { subactions = vec!("AppealLw") }
if tokens.contains(&"utaunt") { subactions = vec!("AppealHiR") }
if tokens.contains(&"dtaunt") { subactions = vec!("AppealLwR") }
if tokens.contains(&"staunt") { subactions = vec!("AppealS") }
if tokens.contains(&"up") && tokens.contains(&"taunt") { subactions = vec!("AppealHi") }
if tokens.contains(&"down") && tokens.contains(&"taunt") { subactions = vec!("AppealLw") }
Expand Down

0 comments on commit b8e31ac

Please sign in to comment.