Coder Social home page Coder Social logo

zwivee / attendancebot Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 116 KB

Discord bot that will track reactions on messages and update Google Sheets spreadsheet with corresponding information.

License: GNU Affero General Public License v3.0

Python 100.00%
reactions discord-bot google-sheets tracks-reactions bot blackdesertonline blackdesertbot

attendancebot's Issues

Need list of people after cap cut off

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

RaidenGTRBest

Users name was "RaidenGTR"Best friend of Shino

Why did the Best get taken.

Attendance look up change to column title

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.

Node war size resets every day

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.

Regex returns only first result.

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.

Implement custom help command

Default help command was removed v1.0.0, but custom help command has never been added. Its time to add a costum help command.

nw_weekday has unbound local error

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

Decoupling functions from files

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.

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.