Auto Edit

This commit is contained in:
KartikeSingh
2022-04-01 21:18:42 +05:30
parent ee5e8c0c28
commit f277d36f7f

View File

@@ -90,7 +90,7 @@ class notifier extends EventEmitter {
while (!this._connected) await new Promise(res => setTimeout(res, 500));
if (this._channels.some(v => v.youtube === youtubeId)) throw new Error("This channel already exist");
if (this._channels.some(v => v.youtube === youtubeId)) return this.editNotifier(youtubeId, channelID, message)
const last = await lastVideo.bind(this)({ youtube: youtubeId });