Code Monkey home page Code Monkey logo

swtor_op_bot's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

swtor_op_bot's Issues

Cap signups at max size

If the operation is an 8 man a ninth should not be able to sign up. This should also cap roles at the standard maximum listed in the self.sizes. 24 man should have no role caps but still cap at 24 sign ups. The operation dictionary currently tracks how many are signed with the Signed property, however this is not updated when someone removes their signup currently.

Refactor spec command

Refactor spec command to take into account class and add a translation to Republic side.

Allow user to sign as reserve

Allow a user to sign as a reserve member directly. Main role should be reserve and alternative role should be a role. Alternative role should not be left blank for reserve. Alternative role should not be reserve.

Accept "Any" as a role

Accept any as a role and add them to one of the three role signups in the message. Should also add them to the two alternate lists. User should not need to have an alternate role if any is there main role. If they have a main role and any is their alternate role then they should be added to the main role as normal and added to both alternate role lists.

Implement logging

Implement propper error logging with dates and times to an output text file.

Guild spefic configuration

Have a json file with guild spefic configuration such as server admins and event channels to lock the bots operation commands to.

Accept variant sizes

Accept variant sizes such as 1t5d or 6d in place of size. They should be added to the sizes dictionary and accepted as valid inputs. The code that currently uses the interger size for max signup comparison could use the sum of the keys.

Reaction based signups

As well with the commands allow the user to sign up by reacting on the original operation message. Valid reaction emoji's should be the regional indicators for T, D and H along with any custom emoji's with DPS. Heals or Tank in thier name.

Add side to operation

The bot should track which side the operation is taking place. This needs to be added to the new operation command as an input, an accepted attribute for updating, the input validated and added to the operation message.

Add Random Operation

Add the ability to create a random operation, possibly using a subset of the self.operations dictionary. Filtered for full operations. Random should be added as a valid input when creating a new operations then the bot should choose one.

Add ability to close sign ups

The JSON already has a "Open" key for each operation. If the value if False the sign command should return an error message. The add command should still work as normal.

Allow operation creator to remove someone

Allow the operation creator to remove a sign up by name. Should be restricted to the operation creator or Admin using the existing check to stop trolls.

Command should look like:

-remove op_id name

Add notes to the operation

Be able to add notes to the operation. Update those notes and display the notes in the operation message. Example:
Operation listing DF MM and note adding only first boss.

Port excuse command

Port the excuse command over from DnD bot and refactor to be more relavent for SWTOR.

Allow the operatrion creator to sign up someone

Allow the operation creator to sign up someone else by name. Should be restricted to the operation creator or Admin using the existing check to stop trolls.

Command should look like:

-add op_id name

Add emoji feedback to commands

The bot does not currently give feedback for successful commands to reduce clutter. Idea is to add a tick emoji to the command to let the user know it is successful.

Automate role management

Allow the bot to automate the signup roles so that if 5 DPS sign up for an 8 man one is moved to alternate role if possible. This should be based on sign up order with later sign ups being moved to alternative roles first where possible.

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.