zwivee / attendancebot Goto Github PK
View Code? Open in Web Editor NEWDiscord bot that will track reactions on messages and update Google Sheets spreadsheet with corresponding information.
License: GNU Affero General Public License v3.0
Discord bot that will track reactions on messages and update Google Sheets spreadsheet with corresponding information.
License: GNU Affero General Public License v3.0
ValueError: list.remove(x): x not in list
extra_list.remove(user_in_game_name)
This feature would require the change from on_reaction_add to on_raw_reaction_add for discord.py
The user no longer needs this functionality.
Add try catch and logging to google sheet calls so that there can be tracing in case of errors or odd behavior.
When the bot reaches the cap cut off, there's a chance that people untick yes, and the bot should add the people that are on the wait-list to the attendance.
It should also pm the list to admins around time for node war
Users name was "RaidenGTR"Best friend of Shino
Why did the Best get taken.
When the bot finds a name it should look for the column matching the days of the week instead of counting down the columns.
This would allow the users to add columns in between the names and the days of the week without breaking the bot.
Discord.py send out on command error, and it must be handled in our discord bot
We only node war wed, thurs, friday, and sunday. No need to reset every day. Especially when attendance is posted before 6pm, which is when the current bot resets the cap anyway.
Possible Solution: Add fields for valid node war days, and only reset on valid node war days.
Since the regular expression only returns only the first result of the in-game name. Regex should only return 'whole-word' results. There is a way to get regex to only return whole words.
Add new functions to help command documentation
Have the bot PM the admin who wants a list of all attendees in the order they reacted to the attendance message.
Default help command was removed v1.0.0, but custom help command has never been added. Its time to add a costum help command.
Bot did not like 8/5/21 as the date for the message, and only took 8/05/21.
Must allow both
Add try catch for list removal
add command to return current node cap size
calculate_weekday_from_announcement might be the function that causes the problem.
will have to add global nw_weekday before making any assignments in function
the proposed solution for this would be to reset the nodeCapacity variable each day at 6pm pst.
Currently all functions are happening on the same file. Google sheets calls and set up should be done in its own file, and discord things should be done in their own separate files.
Possibility of the need to have one class do one task.
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.