This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{$votersRole := <insert role id here>}} | |
{{$pollChannel := .Channel.ID}} | |
{{$pollThread := <insert thread id here>}} | |
{{if and (not .Message.Type) (not .Message.Attachments) (not .Message.Content) (not .Message.StickerItems) (not .Message.MessageSnapshots)}} | |
{{$annID := sendMessageRetID $pollChannel | |
(complexMessage | |
"allowed_mentions" (sdict | |
"parse" (cslice "roles") | |
"replied_user" false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{/*Check if a message has been forwarded*/}} | |
{{if .Message.MessageSnapshots}} | |
{{/*Gather original message and author info*/}} | |
{{$origMessageID := .Message.MessageReference.MessageID}} | |
{{$originChannelID := .Message.MessageReference.ChannelID}} | |
{{$destinationChannelID := .Message.ChannelID}} | |
{{$newMessageLink := .Message.Link}} | |
{{$origMessageObj := getMessage $originChannelID $origMessageID}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nav-files-container > div > .tree-item.nav-folder > .nav-folder-title { | |
font-size: 18px; | |
font-weight: bold; | |
} | |
.nav-files-container > div > .tree-item.nav-folder > .tree-item-children > div > .nav-folder-title { | |
font-size: 16px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.rsbl_cardview { | |
--card-width: 42em; /*adjust this size for narrower or wider cards*/ | |
--card-height: 28em; /*adjust this size for longer or shorter cards*/ | |
/*unit has to be in em so that the card body will also grow/shrink when user increases/decreases font size*/ | |
} | |
/*Card Background*/ | |
.mod-cm6.rsbl_cardview { | |
background-color: var(--background-secondary); |