Change prefix
This commit is contained in:
parent
e3abd1c997
commit
fc467745c7
|
@ -29,8 +29,8 @@ async fn main() -> anyhow::Result<()> {
|
|||
Box::pin(async {
|
||||
if message.author.bot || Into::<u64>::into(message.author.id) == 1 {
|
||||
Ok(None)
|
||||
} else if message.content.starts_with("!") {
|
||||
Ok(Some(message.content.split_at(1)))
|
||||
} else if message.content.starts_with("!!") {
|
||||
Ok(Some(message.content.split_at(2)))
|
||||
} else if message.guild_id.is_none() {
|
||||
if message.content.trim().is_empty() {
|
||||
Ok(Some(("", "score magic")))
|
||||
|
|
Loading…
Reference in a new issue