Skip to content

todo lmao #13

Description

@Henonicks

TO FIX:

Other todos:
none right now

Todos done with:
[X][X] Check for failure when blocklisting people.
[X][X] Create a ticket system. Shouldn't be too hard.
[X][X] Prevent JTC spam joins from potentially creating more temp VCs than allowed.
[X][X] Make the bot not send the "VC created" message if the user leaves the parent JTC too early.
[X][X] Fix the dev version of tickets.txt being wrongfully created in the release directory, causing it to be tried to be created before the directory even exists, then creating the directory, then creating the file again and the dev counterpart never existing. (Added to the list as I fixed it locally)
[X][X] Negative limit doesn't kick people.
[X][X] The bot kicks the user wrongfully claiming they're on their 5-second cooldown. | This seems to be fixed? Doesn't happen to me anymore. Have I fixed this earlier? I've got no clue. | This happens rarely. WE'LL BE FINE.
[X][X] Execute the temp VC creation function that's in the timer before the first tick to get one second off the delay.
[X][X] Resume the temp VC behaviour of temp VCs after the bot reboots.
[X][X] Use an actual database.
[X][X] Change the jtc_defaults' limit's type from long to int8_t.
[X][X] Rename a few maps containing data from the database to match the names of the files.
[X][X] When reading the tickets table of the database for the first time, check if both the channel and the user exist.
[X][X] Make a jtc_vc_amount map, same as temp_vc_amount but for JTC VCs.
[X][X] Change the default bitrate from 96 to 64.
[X][X] Rename ntif_chnls into temp_vc_notifications.
[X][X] Add a slashcommand that sends the database values in a table.
[X][X] Move the private guild commands to a private guild.
[X][X] Log every error SQL query.
[X][X] Add parameter limits for /setup and /set (such as a range of numbers between 0 and 99 for /setup jtc).
[X][X] Change the indentation to tabs in the source code files
[X][X] Remove unnecessary structs.
[X][X] Remove jtc_channels_map.
[X][X] Set up default permissions on slash commands.
[X][X] Change the limit "infinite" value from 100 to 0. On that note, what was going on in my head when I made the decision to introduce 100?
[X][X] Prevent usernames that make channel names too long from disabling my bot from making a channel.
[X][X] UPPERCASE each of my constants' names.
[X][X] Remember blocklists the same way we remember temp VCs.
[X][X] Delete the blocklist set of a channel after it's been deleted.
[X][X] Make a CLI interface and put slashcommand creation there
[X][X] Make my own CMakeLists.txt for sqlite_modern_cpp
[X][X] Document the code.
[X][X] Any non-empty CLI command is added to the history, including the ones which have been the previous one to be issues, which is the problem.
[X][X] Make the bot respond to it being pinged (funny).
[X][X] Rename every header file from .h to .hpp and move them to a directory guiding_light (renamed guidingLight).
[X][X] Make a namespace for the CLI.
[X][X] Replace readline.
[X][X] When pressing ^C during a confirmation or subcommand input, simply cancel.
[X][X] The select CLI command broke.
[X][X] Try to get the bot to work on Android (the goal of doing this is to learn).
[X][X] Add checks whether the dependencies exist or not in CMake.
[X][X] Disable warnings for the files I didn't create nor edit.
[X][X] Use a CMake package manager for missing dependencies
[X][X] Make a function along the lines of slashcommand_mention_get
[X][X] Bring back the debug symbols again.
[X][X] Make a json for the help message.
[X][X] Switch to an actual config language.
[X][X] Make a --killall launch option to kill any guidingLights that are currently running.
[X][X] Make a slashcommand that reloads the configs and the database.
[X][X] Make every variable in the headers inline instead of extern.
[X][X] Localise the bot in Ukrainian (funny).
[X][X] Only allow users to change the name of a temp vc once every minute to avoid ratelimits.
[X][X] dump db and logs everytime the bot shuts down.
[X][X] Prevent memory leaks caused by std::maps creating values and not cleaning them up.
[X][X] Add descriptions to API errors to help users understand why a command or whatever failed.
[X][X] Make the bot add a permission overwrite for itself to have access to the channels it creates.
[X][X] Make the bot send an error message in the JTC VC in case of failure to derive a temp VC from it.
[X][X] Figure out why the bot might try to create a VC for a ridiculous user ID like 4 (exactly this happened today) and fix that bullshit. Update: this happens when someone spams temp VC creation and it errors Update2: this happens when the bot gets confused and creates a temp VC twice for the same user
[X][X] Doesn't compile with old fmt rn
[X][X] Add a typing indicator triggered by me typing in a ticket.
[X][X] Add a prefix to all the temp VC slashcommands (/tempvc <command>)
[X][X] Add support for multiple VCs per user
[X][X] Unmute people that are being removed from a mutelist automatically
[X][X] Check for role highness when managing channels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions