sesounit / Kakapo

Do What The F*ck You Want To Public License
3 stars 1 forks source link

Automatically create thread in #operation-feedback #46

Closed Uncle-Sagbag closed 1 year ago

Uncle-Sagbag commented 1 year ago

autoSlot.py could create a new thread in #operation-feedback with the following format:

Title: <operation name> Message: Post feedback for <operation host>. Please give a rating out of 10.

The hard part is timing this action to occur only at the operation's timestamp. Periodically and/or at init, autoSlot should check if the current time is equal to or greater than the given operation time. If it is, the thread would automatically be created in #operation-feedback with the aforementioned feedback.

It is worth doing research into how others do time-sensitive commands in nextcord/discord.py. We should not reinvent the wheel if there is a feature or library that can do this for us.

Uncle-Sagbag commented 1 year ago

Works perfectly.