Skip to content

Commit

Permalink
ci(e2e): dont test tdiscord
Browse files Browse the repository at this point in the history
  • Loading branch information
BrycensRanch committed Mar 18, 2023
1 parent 271bcc4 commit cfdfa68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ bot.once('spawn', async() => {
for (const command of commands) {
// await bot.tabComplete(command, true)
await bot.chat(command)
await bot.awaitMessage(/(.*townyplus|reload|version|opened|done|showing|toggled|successfully|uploaded.*)/gi)
await bot.awaitMessage(/(.*townyplus|reload|version|opened|done|showing|toggled|successfully|uploaded|town.*)/gi)
}
// Does the bot need to exit out mof the dist folder?
let baseDir = path.join(__dirname, '..')
Expand Down Expand Up @@ -219,7 +219,7 @@ bot.on('error', (error) => {
})

}
bot(["/townyplus version", "/townyplus", "/townyplus reload", "/tasktest", "/tchest", "/tdiscord", "/townyplus bypass on", "/townyplus dump"]).catch((error) => {
bot(["/townyplus version", "/townyplus", "/townyplus reload", "/tasktest", "/tchest", "/townyplus bypass on", "/townyplus dump"]).catch((error) => {
console.log(error)
process.exit(1)
})

0 comments on commit cfdfa68

Please sign in to comment.