imcompiling
6e8f999611
Create discord manager nominate views.
2023-12-16 22:06:39 -05:00
imcompiling
505f27110d
Don't need booleans, use ids as booleans.
2023-12-16 21:59:21 -05:00
imcompiling
1c33139f00
Modify database for highcouncil elections.
2023-12-16 21:53:11 -05:00
imcompiling
b292f956e8
Add functions for different election names within same cycle.
2023-12-16 21:52:56 -05:00
imcompiling
654c74e622
Move a function to utils.
2023-12-16 21:52:14 -05:00
imcompiling
969880fdb6
Merge commit 'f9da9fe7ef1b4d134884bba202af6a8ae5b06203'
build_latest / build (push) Successful in 1m10s
build_release / build (push) Successful in 49s
2023-12-13 17:36:01 -05:00
imcompiling
f9da9fe7ef
Merge branch 'main' into 33-fixes-from-mock-election
build_develop / build (push) Successful in 1m24s
2023-11-08 22:53:40 -05:00
imcompiling
b5ea709c3a
Add council role management to term start.
build_develop / build (push) Successful in 1m29s
2023-11-08 22:50:42 -05:00
imcompiling
9980c49764
Need to use display name in case someone doesn't have a nickname.
build_develop / build (push) Successful in 1m27s
2023-11-08 22:22:32 -05:00
imcompiling
8d02e28271
clean up test file a little.
build_latest / build (push) Successful in 1m26s
2023-11-08 16:31:38 -05:00
imcompiling
3a5add3c60
Remove unneeded config items.
build_latest / build (push) Successful in 1m29s
2023-11-08 16:28:07 -05:00
imcompiling
dd1c304522
Add role check to nominate button.
build_develop / build (push) Successful in 1m24s
2023-11-08 16:17:16 -05:00
imcompiling
619ae92d03
Merge branch '30-threads'
build_develop / build (push) Successful in 46s
build_release / build (push) Successful in 44s
build_latest / build (push) Successful in 45s
2023-11-08 16:12:07 -05:00
imcompiling
431e9c0b35
Filled out term start action.
build_develop / build (push) Successful in 1m32s
2023-11-08 16:11:47 -05:00
imcompiling
27f90bbaef
Add test for term start.
2023-11-08 15:51:06 -05:00
imcompiling
c98bb5888c
Give a message for thread to attach to. Lets it be public.
2023-11-08 15:44:19 -05:00
imcompiling
c38632ca21
Remove another permission setting.
...
name a parameter.
2023-11-08 15:43:58 -05:00
imcompiling
75fc59ed5e
Removed references to ElectionChannel.
...
Removed permission managing as threads don't have permissions.
2023-11-08 15:30:05 -05:00
imcompiling
8d2f2f7dba
Thread create ini election start.
...
build_develop / build (push) Successful in 1m35s
Modified config and database to use threads.
2023-11-07 15:36:33 -05:00
imcompiling
ab88652cdb
Automatic reformat. Guessing from vscode update.
2023-11-07 15:35:43 -05:00
imcompiling
b0e3162123
Change bot to use update query.
build_latest / build (push) Successful in 48s
build_develop / build (push) Successful in 50s
2023-11-07 14:59:07 -05:00
imcompiling
8c1eb8d11f
Filled out a docstring.
...
For some reason, file wasn't formatted.
2023-11-07 14:52:22 -05:00
imcompiling
40d220e2bb
Merge branch '32-view-votes-command'
build_develop / build (push) Successful in 50s
2023-11-07 14:44:33 -05:00
imcompiling
4e8032823d
Fix check if election exists.
...
build_develop / build (push) Successful in 1m35s
Scalars doesn't return None if the thing doesn't exists while scalar does.
2023-11-07 14:44:07 -05:00
imcompiling
678fcd37e1
Add command to init.
...
Correctly set autocomplete.
Put newlines where I forgot to.
2023-11-07 14:12:42 -05:00
imcompiling
7530c59a94
Update function header.
build_develop / build (push) Successful in 1m25s
2023-11-06 20:27:36 -05:00
imcompiling
6abab5c4e5
Remove missedd code snippet.
build_develop / build (push) Successful in 1m26s
2023-11-06 20:26:24 -05:00
imcompiling
088de263cc
Created initial view votes command.
build_develop / build (push) Successful in 1m26s
2023-11-06 20:20:58 -05:00
imcompiling
ffc78a8814
Merge branch '33-fixes-from-mock-election'
build_latest / build (push) Successful in 50s
build_release / build (push) Successful in 47s
build_develop / build (push) Successful in 45s
2023-11-06 19:47:22 -05:00
imcompiling
3e88d62577
Edit election announcement first line.
build_develop / build (push) Successful in 1m24s
2023-11-06 19:46:54 -05:00
imcompiling
392044c658
Reduce length of header splitter.
build_develop / build (push) Successful in 1m34s
2023-11-06 19:45:49 -05:00
imcompiling
9442a294f3
Merge branch '28-add-election-reminder'
build_latest / build (push) Successful in 44s
build_develop / build (push) Successful in 53s
2023-11-03 17:32:00 -04:00
imcompiling
d149caafea
Add election reminder.
...
build_develop / build (push) Successful in 1m26s
Happens daily starting 3 days before election end.
2023-11-03 17:31:52 -04:00
imcompiling
000cb9b257
Merge branch '11-council-member-vote-automation'
build_latest / build (push) Successful in 1m23s
build_release / build (push) Successful in 45s
build_develop / build (push) Successful in 48s
2023-11-03 15:10:34 -04:00
imcompiling
3fb65a7b0a
Process voting end.
...
build_develop / build (push) Successful in 1m41s
Give the elect role and set elected in database.
2023-11-03 15:06:52 -04:00
imcompiling
66e7159022
Enforce having clan member role for voting.
build_develop / build (push) Successful in 1m31s
2023-11-03 14:27:21 -04:00
imcompiling
5803c336c0
Display nickname while voting.
2023-11-03 13:39:42 -04:00
imcompiling
80c4f053bc
Add abstaining from voting.
2023-11-03 13:38:23 -04:00
imcompiling
289b752678
Voting interacts with database.
2023-11-03 13:33:12 -04:00
imcompiling
181b1da879
Don't need voting emote anymore.
2023-11-03 13:24:34 -04:00
imcompiling
dcea911564
Fix bug getting ElectionInformation object correctly.
build_develop / build (push) Successful in 1m31s
2023-11-03 12:06:27 -04:00
imcompiling
81e2885e8d
Change newlines in votes string.
build_develop / build (push) Successful in 1m26s
2023-11-03 11:56:47 -04:00
imcompiling
14f2e13772
General rework to the voting views.
build_develop / build (push) Successful in 1m31s
2023-11-03 11:55:57 -04:00
imcompiling
fa3284b9e3
Pull the vote count message out of vote start.
...
Make its own builder function in utils.
2023-11-03 11:55:21 -04:00
imcompiling
a5ef579767
ElectionName is not unique in the other tables.
2023-11-03 11:53:47 -04:00
imcompiling
9c588a18af
Need to track the message where votes are presented.
2023-11-03 11:00:55 -04:00
imcompiling
ff68e7df1c
Allow for abstain votes.
build_develop / build (push) Successful in 1m24s
2023-11-02 19:57:54 -04:00
imcompiling
5b1b4cfecb
Change modal to a view. Still need to fill out functionality.
...
Funtionality needed: put into database, check on view creation of the user has voted already.
If so, then change the content to show they already voted and who they voted for.
Alert that they can change their vote.
2023-11-02 19:52:20 -04:00
imcompiling
626cca8b81
Start work on vote selection. Modal does not work.
build_develop / build (push) Successful in 1m25s
2023-11-02 17:26:05 -04:00
imcompiling
e7bd608017
Add nominees and voting total to voting message.
2023-11-02 17:01:19 -04:00
imcompiling
a5f0fb71e0
Update to the election rules.
build_latest / build (push) Successful in 1m26s
2023-11-02 16:36:16 -04:00
imcompiling
a0f160c801
Rework to allow users to edit their nomination message.
build_develop / build (push) Successful in 1m27s
2023-11-02 16:22:02 -04:00
imcompiling
19baf84c80
Add speech msg id to database, add the id when submitting a nomination.
2023-11-02 15:12:28 -04:00
imcompiling
133ff79b94
Pass config along so that nominate can add to database with election cycle name.
2023-11-02 15:05:48 -04:00
imcompiling
647af0353d
move functions to get election cycle index and name into utils.
build_develop / build (push) Successful in 1m52s
2023-11-02 14:44:26 -04:00
imcompiling
63e3b3edb2
Middle of adding user to council member table. Need to move function for getting election name to utils.
build_develop / build (push) Successful in 1m33s
2023-10-25 15:20:03 -04:00
imcompiling
ad58f3a9cb
Correct typo. Remove invalid docstring sentence.
2023-10-25 15:11:36 -04:00
imcompiling
c013c85f80
Cleaned up nomination message.
2023-10-25 14:51:37 -04:00
imcompiling
f86225849c
add admin perms to testing command...
build_develop / build (push) Successful in 1m21s
2023-10-24 16:50:49 -04:00
imcompiling
a8def8fd69
First start on nomination modal.
build_develop / build (push) Successful in 1m30s
2023-10-24 16:49:54 -04:00
imcompiling
e5adfdb16f
Changed name of channels to match what was already being used.
build_latest / build (push) Successful in 46s
build_develop / build (push) Successful in 47s
2023-10-24 15:37:27 -04:00
imcompiling
ee19f32be9
Merge branch '27-supporting-first-live-action'
build_latest / build (push) Successful in 1m58s
build_develop / build (push) Successful in 47s
2023-10-24 10:35:21 -04:00
imcompiling
8ff53d9a13
Grammar corrections.
build_develop / build (push) Has been cancelled
2023-10-05 14:26:15 -04:00
imcompiling
9609837b1d
Control user reactions in election channel.
2023-10-05 14:24:33 -04:00
imcompiling
8cf66351dd
Allow clan members to send messages to new channel.
build_develop / build (push) Has been cancelled
2023-09-20 20:14:32 -04:00
imcompiling
a4c02b2f77
Change develop build to make a branch specific image.
build_latest / build (push) Successful in 1m27s
build_release / build (push) Successful in 45s
build_develop / build (push) Successful in 45s
2023-09-15 09:53:45 -04:00
imcompiling
8d8af9ab35
Change cakeday to be put in general channel.
2023-09-15 09:42:58 -04:00
imcompiling
f70a7989ae
Updated election_cycle init docstring.
build_develop / build (push) Successful in 1m24s
build_latest / build (push) Successful in 43s
2023-09-14 11:55:08 -04:00
imcompiling
fb909c009a
Quick bugfix for finding next election. Wouldn't happen in live, but better than hard coding.
2023-09-14 11:52:33 -04:00
imcompiling
bdefa035ff
Merge branch '25-cakeday'
build_latest / build (push) Successful in 44s
build_develop / build (push) Successful in 45s
build_release / build (push) Successful in 43s
2023-09-14 11:34:14 -04:00
imcompiling
85eb52d2e1
add word to message string.
build_develop / build (push) Successful in 1m31s
2023-09-14 11:33:27 -04:00
imcompiling
7d1b2f7cac
Create cakedays function.
2023-09-14 11:24:25 -04:00
imcompiling
c5c79015a9
Correct spelling.
2023-09-14 11:22:53 -04:00
imcompiling
7b335efbe6
Merge branch '22-daily-loop-not-starting-election'
build_latest / build (push) Successful in 44s
build_release / build (push) Successful in 43s
build_develop / build (push) Successful in 45s
2023-09-13 10:52:08 -04:00
imcompiling
e686cf88e5
Be inclusive when checkign for an election cycle.
build_develop / build (push) Has been cancelled
2023-09-13 10:51:16 -04:00
imcompiling
117dea48c4
Standardize variable name of dates.
2023-09-13 10:42:01 -04:00
imcompiling
62e4417ce8
Use correct action on voting start.
2023-09-13 10:32:59 -04:00
imcompiling
672df41f19
Make the configs and timeline more clear.
2023-09-13 10:16:50 -04:00
imcompiling
328f3fea78
Merge branch 'main' into 22-daily-loop-not-starting-election
2023-09-13 09:31:53 -04:00
imcompiling
18751bc85c
Inform Kandy when it is her "birthday".
build_release / build (push) Successful in 48s
build_latest / build (push) Successful in 43s
build_develop / build (push) Successful in 43s
2023-09-12 13:17:25 -04:00
imcompiling
e243b40be7
Merge branch '19-birthday-tracking'
build_latest / build (push) Successful in 44s
build_develop / build (push) Successful in 42s
build_release / build (push) Successful in 42s
2023-09-09 13:48:36 -04:00
imcompiling
7a91cd37ec
Add birthdays from database.
build_develop / build (push) Has been cancelled
2023-09-09 13:48:22 -04:00
imcompiling
efadcb30c7
Finish up set birthday command.
2023-09-09 13:27:22 -04:00
imcompiling
5668e4be7e
Add release workflow.
build_release / build (push) Successful in 44s
build_develop / build (push) Successful in 43s
build_latest / build (push) Successful in 44s
2023-09-09 11:49:56 -04:00
imcompiling
1a8c5616ef
Merge branch 'main' into 19-birthday-tracking
build_develop / build (push) Successful in 1m24s
2023-09-09 11:48:47 -04:00
imcompiling
43c1a5c6cd
Merge branch '22-daily-loop-not-starting-election'
build_develop / build (push) Successful in 43s
build_latest / build (push) Successful in 42s
2023-09-09 11:39:31 -04:00
imcompiling
c278bae498
I forgot to give the docker image the message files.
build_develop / build (push) Successful in 1m24s
2023-09-09 11:38:22 -04:00
imcompiling
8b831fb6aa
start loop in init, use before loop, waiting on bot ready, to set up needed data.
2023-09-09 11:38:03 -04:00
imcompiling
e7cfe8bd4c
Fix logging issue.
build_develop / build (push) Successful in 1m24s
2023-09-08 20:07:08 -04:00
imcompiling
2640ebdad1
Move current_election setting. The bot needs to be ready first.
build_develop / build (push) Successful in 1m22s
2023-09-08 11:42:34 -04:00
imcompiling
c5c242de21
Correct comparison in get_current_cycle().
build_develop / build (push) Successful in 1m30s
build_latest / build (push) Successful in 47s
2023-09-06 14:14:33 -04:00
imcompiling
0710db0654
Merge branch 'main' into 19-birthday-tracking
build_develop / build (push) Successful in 1m27s
2023-09-03 21:13:14 -04:00
imcompiling
369ea0dd55
Add logging
2023-09-03 21:12:42 -04:00
imcompiling
077119acdd
Add initial set birthday command.
2023-08-30 22:49:28 -04:00
imcompiling
ac8d1bc681
Start update_birthdays function.
build_develop / build (push) Successful in 1m24s
2023-08-26 23:04:31 -04:00
imcompiling
df8cb3dd49
Add message listener portion of birthday fun.
2023-08-26 22:52:02 -04:00
imcompiling
25833364d7
Whoops, period on wrong side of bracket.
build_latest / build (push) Successful in 42s
build_develop / build (push) Successful in 44s
2023-08-26 22:15:12 -04:00
imcompiling
d73b671257
Copy utils.py into docker image. sort copying.
build_develop / build (push) Successful in 1m25s
build_latest / build (push) Successful in 44s
2023-08-26 21:39:07 -04:00
imcompiling
f6e827fba5
Rename a directory, need to store the db file in a directory.
2023-08-26 21:36:18 -04:00
imcompiling
2991f81e04
Update python version.
build_develop / build (push) Successful in 2m4s
build_latest / build (push) Successful in 42s
2023-08-26 21:02:22 -04:00