Add clan rules #6

Closed
opened 2023-04-26 16:49:05 -04:00 by imcompiling · 7 comments
Owner

Want to store all clan rules in text documents inside of repo.

Want to store all clan rules in text documents inside of repo.
imcompiling added this to the Clan election cycle development project 2023-04-26 16:49:05 -04:00
imcompiling modified the project from Clan election cycle development to Rules management development. 2023-04-26 16:50:31 -04:00
Author
Owner

I should make a new repository and allow a dakiny gitea account to have access to it. I can then either try to do a webhook (difficult) or just pull on an interval then make the required changes.

I should make a new repository and allow a dakiny gitea account to have access to it. I can then either try to do a webhook (difficult) or just pull on an interval then make the required changes.
Author
Owner

I will need a database relating all text documents to a discord message id. Might need channel too.

I will need a database relating all text documents to a discord message id. Might need channel too.
Author
Owner

If a new document is found, then a new message is created. the channel id is based off of the directory the document is in.

If a new document is found, then a new message is created. the channel id is based off of the directory the document is in.
imcompiling added reference 6-add-clan-rules 2024-05-13 21:34:04 -04:00
Author
Owner

Use a webhook to know when the repo is updated.

Use a webhook to know when the repo is updated.
Author
Owner

Need to configure gitea to allow local hosts for webhooks.

Need to configure gitea to allow [local hosts](https://docs.gitea.com/next/administration/config-cheat-sheet#webhook-webhook) for webhooks.
Author
Owner

useful resource for breaking out the handling method into its own file.

[useful resource](https://fastapi.tiangolo.com/tutorial/bigger-applications/#the-main-fastapi) for breaking out the handling method into its own file.
Author
Owner

Completed!

Completed!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: imcompiling/dakiny-bot#6