-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug fixes and legacy cleanup #253
Merged
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
b29d7a1
context menu display fix
Abeous 0e3597b
include custom tag info in cmdtag description
Abeous 19e4f70
remove stalk and mentions from /help and autocomplete
Abeous 71f824d
add context menu to hints
Abeous f86c557
gutted cmdSTALK and cmdMENTIONS, converted tag's repeated strings to …
Abeous File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,16 +89,13 @@ const hintstrings = new Map([ | |
"Use /ignore <username> to hide messages from pesky chatters" | ||
], | ||
["mutespermanent", "Mutes are never persistent, don't worry it will pass!"], | ||
[ | ||
"stalkmentionshint", | ||
"Use the /stalk <nick> or /mentions <nick> to keep up to date" | ||
], | ||
[ | ||
"tagshint", | ||
`Use the /tag <nick> <color> to highlight users you like. There are preset colors to choose from ${tagcolors.join( | ||
", " | ||
)}` | ||
] | ||
)}, or \`/tag <nick> #HEXCODE\`` | ||
], | ||
["contextmenu", "Right click a user to access quick options!"] | ||
]); | ||
const settingsdefault = new Map([ | ||
["schemaversion", 2], | ||
|
@@ -172,14 +169,15 @@ const commandsinfo = new Map([ | |
], | ||
["unban", { desc: "Unban a user", admin: true }], | ||
["timestampformat", { desc: "Set the time format of the chat." }], | ||
["stalk", { desc: "Return a list of messages from <nick>", alias: ["s"] }], | ||
[ | ||
"mentions", | ||
{ | ||
desc: "Return a list of messages where <nick> is mentioned", | ||
alias: ["m"] | ||
} | ||
], | ||
// Disabling /stalk and /mentions until functionality is added. | ||
// ["stalk", { desc: "Return a list of messages from <nick>", alias: ["s"] }], | ||
// [ | ||
// "mentions", | ||
// { | ||
// desc: "Return a list of messages where <nick> is mentioned", | ||
// alias: ["m"] | ||
// } | ||
// ], | ||
["tag", { desc: "Mark a users messages" }], | ||
["untag", { desc: "No longer mark the users messages" }], | ||
["exit", { desc: "Exit the conversation you are in." }], | ||
|
@@ -1826,11 +1824,11 @@ class Chat { | |
MessageBuilder.info( | ||
`Tagged nicks: ${[...this.taggednicks.keys()].join( | ||
"," | ||
)}. Available colors: ${tagcolors.join(",")}` | ||
)}. Preset colors: ${tagcolors.join(",")}, or /tag user #HEXCODE` | ||
).into(this); | ||
} else { | ||
MessageBuilder.info( | ||
`No tagged nicks. Available colors: ${tagcolors.join(",")}` | ||
`No tagged nicks. Preset colors: ${tagcolors.join(",")}, or /tag user #HEXCODE` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can these be pulled out into variables as it looks like this is below as well |
||
).into(this); | ||
} | ||
return; | ||
|
@@ -1882,11 +1880,11 @@ class Chat { | |
MessageBuilder.info( | ||
`Tagged nicks: ${[...this.taggednicks.keys()].join( | ||
"," | ||
)}. Available colors: ${tagcolors.join(",")}` | ||
)}. Preset colors: ${tagcolors.join(",")}, or \`/tag user #HEXCODE\`` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This as well |
||
).into(this); | ||
} else { | ||
MessageBuilder.info( | ||
`No tagged nicks. Available colors: ${tagcolors.join(",")}` | ||
`No tagged nicks. Preset colors: ${tagcolors.join(",")}, or \`/tag user #HEXCODE\`` | ||
).into(this); | ||
} | ||
return; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go ahead and delete this stuff since it’s deleted above