maskonk / swtor_op_bot Goto Github PK
View Code? Open in Web Editor NEWA discord bot written to manage sign ups for raids for the MMO game Star Wars: the Old Republic.
A discord bot written to manage sign ups for raids for the MMO game Star Wars: the Old Republic.
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.
Command raised an exception: KeyError: 'Any'
was the error caused by Goldy's command (-sign 1 any)
Remove ctx from rest of the non command functions and write tests for them.
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 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
Have a json file with guild spefic configuration such as server admins and event channels to lock the bots operation commands to.
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.
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.
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.
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.
Implement propper error logging with dates and times to an output text file.
Port the ask command over from DnD bot and refactor to be relavent to SWTOR.
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.
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.
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 melee and ranged tags to spec command for dps specs.
The remove user command does not remove the user from the alternatives list.
Have adding a second role emoji add an alt 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.
Refactor spec command to take into account class and add a translation to Republic side.
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.
Port the excuse command over from DnD bot and refactor to be more relavent for SWTOR.
Add side as an valid attribute to the valid operation command.
Add common variants of Emoji names to the list of working emojis for reaction sign ups.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.