Bridge polls from Matrix as pseudo-polls on Discord (with an embed). Not 100% working.
Co-authored-by: Cadence Ember <cloudrac3r@vivaldi.net>
This commit is contained in:
committed by
Cadence Ember
co-authored by
Cadence Ember
parent
e565342ac8
commit
afca4de6b6
Vendored
+14
-5
@@ -140,16 +140,25 @@ export type Models = {
|
||||
original_encoding: string | null
|
||||
}
|
||||
|
||||
poll_vote: {
|
||||
vote: string
|
||||
poll: { // not actually in database yet
|
||||
message_id: string
|
||||
discord_or_matrix_user_id: string
|
||||
max_selections: number
|
||||
question_text: string
|
||||
is_closed: number
|
||||
}
|
||||
|
||||
|
||||
poll_option: {
|
||||
message_id: string
|
||||
matrix_option: string
|
||||
discord_option: string
|
||||
discord_option: string | null
|
||||
option_text: string // not actually in database yet
|
||||
seq: number // not actually in database yet
|
||||
}
|
||||
|
||||
poll_vote: {
|
||||
message_id: string
|
||||
matrix_option: string
|
||||
discord_or_matrix_user_id: string
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user