excid3 / excid3/logbot

Suggestion: creating main index file/checking logs on program startup

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
Wishlist
Dominant language
Python
Stars
60
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Not sure if this qualifies here, even if it does, it's a minor issue. More of a suggestion I think.

If a channel directory(logs/#channel/) does not exist, the bot creates the directory and appends a link with the name of the channel to the main index.html file("Logged Channels").
Now, if you remove only the channel directory by hand, the bot will create it, and **append** the link to the main index.html as usual, even though one already exists there.

Might be a good idea to check the logs on startup, maybe recreate the main index.html file based on existing logs/ subdirectories.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.