Skip to content

Search Command

lindannguyen edited this page Apr 8, 2020 · 4 revisions

Search

Search is designed to look up bugs and fishes from Animal Crossing New Horizons in the PostgreSQL database. The data file used in the bot is called data.csv.

Any changes you would like to make to the data should follow the same format as the original file. Otherwise, you may edit the source files: dataentry.go, search.go, and search_test.go, to match your use case.

Commands

Command Description
?search [bug/fish name] Looks up an item from bug and fish database. Displays sell price, location, spawn time, and months available in both northern and southern hemispheres
?search [hemisphere bug/fish] Lists all bugs or fish available for the current month - Sorry time travelers!

Examples

  • ?search emperor butterfly
  • ?search north bug
  • ?search south fish

Image from Gyazo

Image from Gyazo