Skip to content
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

Command Improvements #157

Merged
merged 24 commits into from
Feb 11, 2025
Merged

Conversation

kylepokorski
Copy link
Contributor

Making improvements to various text commands

Adding cat colors and images. Adding vote icons and progress icons as part of configuration
fix category image+color
Making queries have color+image
Making hint be able to use ID of elements
…elements

Adding showing multiple nonexistent elements in !ac/!rc. Making it so duplicate entries don't appear in !ac/rc or combinations
Adding !hintquery/!hq. Adding lb sorts as text command, Removing "plus" as a element separator.  Making color/image/sign commands case insensitive. Fixing !ac giving "Invalid format" when it shouldn't (this was introduced in my last commit)

Matching main
Adding info category and info query text commands. There are several variations of the names
Making empty !cat/!query show cat/query list
Making many improvements to text comamands:
*Adding cat images and colors, and adding query images and colors to their list view.
*New commands: Adding !hintquery (!hq), !infocategory (!ic), and !infoquery (!iq).
*Making !lb [sort] work.
*Making !ac/!rc show all nonexistent elements
*Making it so there are no duplicate nonexistent elements shown when combining
*Making !cat/!query with no category/query show cat list/ query list
*Making !img/!sign/!color commands case insensitive

(this commit in particular just removes the customization code so this is just the command improvements)
.gitignore Outdated Show resolved Hide resolved
Adding delete category text command (!dc)
Adding image and color to products page
Adding ping command (both slash and text command version)
adding !elemcats which shows element categories (previously just a slash command) Fixing nonexistent elements showing 2 red circle emojis. Adding "!inventory" and "!leaderboard" as alternate names for !inv and !lb
Removing image slash command as it does not work due to problems on Discord's end (the image will disappear after about 30 days)
Adding text commands for query and cat sort
Copy link
Owner

@Nv7-GitHub Nv7-GitHub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow great job I hope these have all been tested. Small things want to make the code cleaner once you fix those ill merge

eod/msgs.go Outdated Show resolved Hide resolved
eod/msgs.go Show resolved Hide resolved
eod/msgs.go Outdated Show resolved Hide resolved
eod/msgs.go Outdated Show resolved Hide resolved
eod/polls/handle.go Outdated Show resolved Hide resolved
run/eod/__debug_bin1644976997 Outdated Show resolved Hide resolved
eod/types/types.go Outdated Show resolved Hide resolved
Removing debug file, fixing ordering on types.go,removing blank space in handle.go
Making info use getElementID function, and making getElementID not give id just for plain numbers
Removing "InfoMsgCmd" since it no longer serves any purpose
Moving some code from msgs.go to sorts.go
@kylepokorski kylepokorski mentioned this pull request Feb 9, 2025
Making ping only 2 decimal places per Nv7. Making IsNumericID function to see if a string is a numeric ID. Rephrasing dontexist check in ac/rc
Adding extra space in ping command
@Nv7-GitHub
Copy link
Owner

@kylepokorski can you resolve the conflicts

Copy link
Owner

@Nv7-GitHub Nv7-GitHub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but conflicts are sad

Doing last request Nv7 had for Nv7-GitHub#157 (adding function to get multiple IDs and removing the extra showerr parameter).  Adding text commands for stats and commandlb. Making print nonexistent elements cap out after 1850 characters of element text. Adding ih and !inversehint as aliases for products and !category as an alias for category. Fixing issue where !q with 2 parameters crashed due to being invalid index
@Nv7-GitHub Nv7-GitHub merged commit e9d044c into Nv7-GitHub:main Feb 11, 2025
@kylepokorski kylepokorski mentioned this pull request Feb 11, 2025
Nv7-GitHub added a commit that referenced this pull request Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants