Update src/plugins/irc-events/connection.js

Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
This commit is contained in:
Max Leiter 2022-05-01 13:31:56 -07:00 committed by GitHub
parent d9ce50583e
commit 66e2080d5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ module.exports = function (irc, network) {
const commands = network.commands.map(
(cmd) =>
new Promise((resolve) => {
if (cmd.toLowerCase().startsWith("/wait")) {
if (cmd.toLowerCase().startsWith("/wait ")) {
try {
delay = parseInt(cmd.substring(6), 10) * 1000;