Coder Social home page Coder Social logo

thecodesinger / equibot Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 516 KB

Discord bot for Equilibrium, a Torn City faction. If you're never heard of Torn City, you should give it a try and look me up in-game. Here's my referral link: https://www.torn.com/2252482

License: MIT License

JavaScript 100.00%
bot discord-bot torn-city javascript nodejs

equibot's People

Contributors

thecodesinger avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

equibot's Issues

Lotto: Allow multiple "You sent" messages

If someone does a lotto for multiple items, we should allow them to paste multiple "You sent" messages.

Something like !listen @orion 2 which tells the bot to listen for two sent messages.

Stocks Module

  1. Print a list of current stock prices and shares available.
  2. Print details of a single stock.
  3. Set alerts to be notified when a stock drops below (or rises above) a specified price.

Other features to add, but which YATA bot already does:

  1. Notify of changed forecast.
  2. Notify of injected shares.

Screen Shot 2020-05-28 at 4 24 34 PM

Stocks: Add ability to audit all current usage

Add an admin command which allows for listing all current usage of the tool. This will be useful when helping to debug other's problems. Also the ability to clear watchers from other users, those who have left faction for instance.

RNG: Add rng command

Add a rng command:

  • !rng 10 => picks random number 1-10
  • !rng 10 50 => picks number 10-50

Scheduled Event notifications

Suppose we set a chain date (for example, Friday Aug 7) and it would announce at certain times, like one week ahead, 3 days ahead, day before, and upon start time. It would post in a specified channel.

Game idea: Tag

The idea popped into my head just now for a game of tag utilizing the Discord bot. Basic syntax would be !tag @PeterPan. I haven't worked out a great way to gamify it, but I have a few rough ideas:

  1. Simple Tag. No rules, no structure, no substance. Just a silly command you use to tag someone !tag @PeterPan => Aarlo tagged PeterPan! Basically a reskin of the !trout command.
  2. Structured Simple Tag. Still no goal, but you can only tag someone if you are it. Bot admins can start multiple tag games so more than one person is it at a time. Perhaps add an "It" role that gets passed around. And a !whoisit command to see the list of people. Idea: Anyone with the "It" role has an undesireable side effect.
  3. Hot potato tag. Anyone can start the game: !hotpotato A timer starts counting down from 5 minutes. If you are it then you can tag someone else. When the timer expires, the loser is the one who is it.

One big problem is that it could become obnoxious since tagging notifies people, even if it's their nighttime. Maybe we have to have a 1min signup period before the game starts, and only those can be tagged.

Game idea: Linear lotto

!linear 500000 => Linear lotto whereby the prize is $500k per entry.

Additional considerations. Elsewhere, these lottos have a expiration timer. Starting with a set amount, like 1 minute, each entry adds X number of seconds to the timer.

Add Assist command

We should create an !assist command which looks up the current player's fight and provides a link to the opponent profile. I saw this on the SA alliance server.

Game idea: Typing games

  1. First to type their Torn ID
  2. First to guess a random number between 1 and 10
  3. First to @tag a random member online in Discord.
  4. others?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.