<jkhsjdhjs> wo einfach ( |$)

This commit is contained in:
Flummi 2023-07-11 01:02:15 +02:00
parent 1ae3ca6e12
commit c6f73395c0
Signed by: Flummi
GPG Key ID: AA2AEF822A6F4817

View File

@ -77,7 +77,7 @@ bot.on("message", e => {
console.log(`callphase: ${callphase ? 'yes': 'no'}; callamount: ${callamount}; potsize: ${pot}; winchance: ${winchance}`);
}
if(e.message.match(new RegExp(`^Current player: ${e.self.me.nickname}( \\()?$`)) && hand) {
if(e.message.match(new RegExp(`^Current player: ${e.self.me.nickname}( |$)`)) && hand) {
if(!winchance)
return e.reply('c');