mirror of
https://gitlab.com/qwerinope/qweribot.git
synced 2026-02-04 07:56:58 +01:00
finish migrating to gitlab
This commit is contained in:
@@ -40,7 +40,7 @@ export default new Command({
|
||||
const selection = namedRedeems.get(args[0]);
|
||||
if (!selection) {
|
||||
await sendMessage(
|
||||
`Redeem ${args[0]} doesn't exist. The internal names for redeems are here: https://github.com/qwerinope/qweribot#point-redeems`,
|
||||
`Redeem ${args[0]} doesn't exist. The internal names for redeems are here: https://gitlab.com/qwerinope/qweribot#point-redeems`,
|
||||
msg.messageId,
|
||||
);
|
||||
return;
|
||||
|
||||
@@ -39,7 +39,7 @@ export default new Command({
|
||||
const selection = namedRedeems.get(args[0]);
|
||||
if (!selection) {
|
||||
await sendMessage(
|
||||
`Redeem ${args[0]} doesn't exist. The internal names for redeems are here: https://github.com/qwerinope/qweribot#point-redeems`,
|
||||
`Redeem ${args[0]} doesn't exist. The internal names for redeems are here: https://gitlab.com/qwerinope/qweribot#point-redeems`,
|
||||
msg.messageId,
|
||||
);
|
||||
return;
|
||||
|
||||
@@ -12,7 +12,7 @@ export default new Command({
|
||||
const args = parseCommandArgs(msg.messageText);
|
||||
if (!args[0]) {
|
||||
await sendMessage(
|
||||
`A full list of cheers can be found here: https://github.com/qwerinope/qweribot#cheers`,
|
||||
`A full list of cheers can be found here: https://gitlab.com/qwerinope/qweribot#cheers`,
|
||||
msg.messageId,
|
||||
);
|
||||
return;
|
||||
|
||||
@@ -12,7 +12,7 @@ export default new Command({
|
||||
const args = parseCommandArgs(msg.messageText);
|
||||
if (!args[0]) {
|
||||
await sendMessage(
|
||||
`A full list of commands can be found here: https://github.com/qwerinope/qweribot#commands-1`,
|
||||
`A full list of commands can be found here: https://gitlab.com/qwerinope/qweribot#commands-1`,
|
||||
msg.messageId,
|
||||
);
|
||||
return;
|
||||
|
||||
@@ -38,7 +38,7 @@ async function parseChatMessage(msg: EventSubChannelChatMessageEvent) {
|
||||
) {
|
||||
// The msg.sourceMessageId checks if the message is from shared chat. shared chat should be ignored
|
||||
const message = await sendMessage(
|
||||
`Welcome ${user?.displayName}. Please note: This chat has PvP, if you get timed out that's part of the qwerinope experience. You have 10 minutes of invincibility. A full list of commands and items can be found here: https://github.com/qwerinope/qweribot/#qweribot`,
|
||||
`Welcome ${user?.displayName}. Please note: This chat has PvP, if you get timed out that's part of the qwerinope experience. You have 10 minutes of invincibility. A full list of commands and items can be found here: https://gitlab.com/qwerinope/qweribot/#qweribot`,
|
||||
);
|
||||
await redis.set(`user:${user?.id}:haschatted`, "1");
|
||||
await redis.set(`user:${user?.id}:welcomemessageid`, message.id);
|
||||
|
||||
@@ -10,7 +10,7 @@ eventSub.onUserWhisperMessage(chatterId, async (msg) => {
|
||||
if (!msg.messageText.startsWith(commandPrefix)) {
|
||||
await whisper(
|
||||
msg.senderUserId,
|
||||
`Whisper commands start with '${commandPrefix}'. All whisper commands can be found here: https://github.com/qwerinope/qweribot#whisper-commands-1`,
|
||||
`Whisper commands start with '${commandPrefix}'. All whisper commands can be found here: https://gitlab.com/qwerinope/qweribot#whisper-commands-1`,
|
||||
);
|
||||
return;
|
||||
}
|
||||
@@ -25,7 +25,7 @@ eventSub.onUserWhisperMessage(chatterId, async (msg) => {
|
||||
case "h":
|
||||
await whisper(
|
||||
msg.senderUserId,
|
||||
`All whisper commands can be found here: https://github.com/qwerinope/qweribot#whisper-commands-1`,
|
||||
`All whisper commands can be found here: https://gitlab.com/qwerinope/qweribot#whisper-commands-1`,
|
||||
);
|
||||
break;
|
||||
case "ghostwhisper":
|
||||
|
||||
Reference in New Issue
Block a user