mirror of
https://github.com/liyunze-coding/Chat-Task-Tic-Overlay.git
synced 2026-08-24 10:04:00 -05:00
added titles to configs
This commit is contained in:
@@ -230,6 +230,8 @@ const configs = (function () {
|
||||
"{user} RyanPython is the creator of this bot, check out his Twitch at https://www.twitch.tv/ryanpython",
|
||||
};
|
||||
|
||||
const titles = ["!ryanpython", "!taskadd", "!taskdone", "!taskhelp"];
|
||||
|
||||
// Other
|
||||
const styles = {
|
||||
headerFontFamily,
|
||||
@@ -345,6 +347,7 @@ const configs = (function () {
|
||||
commands,
|
||||
responses,
|
||||
settings,
|
||||
titles,
|
||||
};
|
||||
|
||||
return module;
|
||||
|
||||
+1
-1
@@ -535,7 +535,7 @@ setInterval(async () => {
|
||||
let taskTitleText = taskTitle.innerText;
|
||||
|
||||
// cycle through a list of titles
|
||||
let titles = ["!ryanpython", "!taskadd", "!taskdone", "!taskhelp"];
|
||||
const titles = configs.titles;
|
||||
|
||||
// get current title
|
||||
let currentTitle = titles.indexOf(taskTitleText);
|
||||
|
||||
Reference in New Issue
Block a user