Voltaic314 / Study_Fam_Discord_Bot

This is just a repository for a discord bot made for our study fam discord server. It has multiple different commands for various purposes.
MIT License
1 stars 1 forks source link

Adjust auto-delete channel so that it uses an absolute time scale rather than relative #10

Closed Voltaic314 closed 1 month ago

Voltaic314 commented 6 months ago

Currently the bot deletes all messages in the auto-delete channel after 5 minutes of uptime, but this is relative and relies on the bot being started up at 11:55 pm (23:55 24 hour time). This works only in that context but god forbid the bot ever needs to be reset earlier in the day, it means the void channel gets cleared early.

I tried to use time deltas and all that, but it proved to be a challenge for some reason. I'm sure I'm just being an idiot. I think this would be easy to implement with the datetime library in python. But I'm too busy to look further into it.

Voltaic314 commented 1 month ago

This no longer needs to be worked on because the auto delete channel is null and void going ahead. So we can close this issue.