Skip to content

Instantly share code, notes, and snippets.


cloudWheels cloudwheels

View GitHub Profile
cloudwheels / YAGPDB Bot Info Emoji Script
Last active Sep 15, 2020
Custom config for YAGPDB Bot in dash dev discord to copy selected posts to information channel when moderator adds reaction
View YAGPDB Bot Info Emoji Script
{{$reaction := .Message.Reaction nil (index .Args 1) }}
{{$srcReaction:= .Reaction.Emoji }}
{{$srcEmote := $srcReaction.Name }}
{{$targetEmote := "ℹ️"}}
{{$timestamp := (split .ReactionMessage.Timestamp.Parse.String ".")}}
{{if eq $srcEmote $targetEmote }}
{{$channel:= .ReactionMessage.ChannelID}}
{{$channelName:= (getChannel $channel).Name}}
{{$channelID:= (getChannel $channel).ID}}
cloudwheels / dash-network-deploy-ansible-viz-with-roletasks-edited.svg
Created Feb 16, 2020
dash network deploy ansible visualisation (with role tasks, edited)
View dash-network-deploy-ansible-viz-with-roletasks-edited.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.