Skip to content

Instantly share code, notes, and snippets.

View cloudwheels's full-sized avatar
🎯
Focusing

cloudWheels cloudwheels

🎯
Focusing
View GitHub Profile
@cloudwheels
cloudwheels / YAGPDB Bot Info Emoji Script
Last active September 15, 2020 17:11
Custom config for YAGPDB Bot in dash dev discord to copy selected posts to information channel when moderator adds reaction
{{$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
cloudwheels / dash-network-deploy-ansible-viz-with-roletasks-edited.svg
Created February 16, 2020 21:21
dash network deploy ansible visualisation (with role tasks, edited)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.