Pulseline Discord bot

Overview

Pulseline Discord bot

Currently used in the FreeBSD Discord server to relay incoming GitHub web-hook events to a desired channel, showing information such as repository, commit title and committer name.

Tentative goals

Broader reach to Bugzilla and possibly Phabricator events, or any additional services that serves us of useful information.

Build and deployment

Ensure a valid configuration file exists in the root of the project. Example can be found here.

# make install

This will both build and install the resulting Go binary, as well as the configuration file. To run, simply:

# ./pulseline

If you want to use a custom configuration file separate of the global one (residing under /usr/local/etc/pulseline) then pass the -c flag, followed with a desired absolute path.

License

BSD 2-Clause

Comments
  • build(deps): bump github.com/bwmarrin/discordgo from 0.26.0 to 0.26.1

    build(deps): bump github.com/bwmarrin/discordgo from 0.26.0 to 0.26.1

    Bumps github.com/bwmarrin/discordgo from 0.26.0 to 0.26.1.

    Release notes

    Sourced from github.com/bwmarrin/discordgo's releases.

    DiscordGo v0.26.1

    Hi all! This release only bumps semantic version of the library and does not contain any new fixes nor features. This is due to our semantic version previously not matching the actual library version.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump github.com/bwmarrin/discordgo from 0.25.0 to 0.26.0

    build(deps): bump github.com/bwmarrin/discordgo from 0.25.0 to 0.26.0

    Bumps github.com/bwmarrin/discordgo from 0.25.0 to 0.26.0.

    Release notes

    Sourced from github.com/bwmarrin/discordgo's releases.

    DiscordGo v0.26.0

    Get ready! This release is not so big, but is packed with refactoring changes and fixes.

    What's Changed

    Notices / Breaking changes

    • DefaultPermission has been deprecated in favor of DefaultMemberPermissions and DMPermission in ApplicationCommand #1075
    • ApplicationCommandPermissionsBatchEdit has been deprecated #1075
    • Content, Components and Embeds were made pointers in WebhookEdit #1174
    • GuildTemplate.Description was made a pointer #1191
    • Type of GuildTemplate.UsageCount was changed to int #1191
    • GuildChannel and PrivateChannel were removed due to deprecation #1203
    • InviteTargetEmbeddedAppliction was renamed to InviteTargetEmbeddedApplication #1211
    • NSFW, Archived, Locked and Invitable were made pointers in ChannelEdit #1199
    • Type of Features was changed to []GuildFeature in UserGuild #1223
    • Remaining undocumented structs, events and fields were removed. #1225
    • ChannelEdit now shares same functional and parameters as ChannelEditComplex #1217
    • GuildMemberEdit now shares same functional and parameters as GuildMemberEditComplex #1217
    • ChannelEditComplex was deprecated in favor of ChannelEdit #1217
    • GuildMemberEditComplex was deprecated in favor of GuildMemberEdit #1217
    • name and roles parameters of GuildEmojiEdit and GuildEmojiCreate were placed into a EmojiParams struct #1217
    • accessToken, nick, roles, mute and deaf parameters of GuildMemberAdd were placed in a GuildMemberAddParams struct #1217
    • name, color, hoist, perms and mention parameters of GuildRoleEdit were placed into a GuildRoleParams struct #1217
    • name and description parameters of GuildTemplateCreate and GuildTemplateEdit were placed into a GuildTemplateParams struct #1217
    • GuildEmbedEdit now accepts parameters through GuildEmbed struct #1217
    • GuildEmbed.Enabled was made a pointer #1217
    • GuildRoleCreate now accepts initial role parameters through GuildRoleParams struct #1217
    • g parameter of GuildEdit was made a pointer, to match other REST methods #1228

    New features

    • Application commands: Permissions v2 #1075
    • Auto moderation #1201
    • Application command options: min and max length #1208

    Other changes

    • Use with_localizations flag in ApplicationCommands #1196
    • Add Dialer property to Session #1179 and #1220
    • Add AppPermissions field to Interaction #1206
    • Add ExpiresAt field to Invite #1198
    • Add Features field to UserGuild #1223
    • Name and Description are omitted when unset in GuildTemplate #1191
    • Add replied_user to MessageAllowedMentions #1175
    • fix: check if opus created #1166
    • Add ability to reply with embeds #1160
    • Add missing fields to VoiceState #1190
    • Add GET prefix for ApplicationCommands bucketID #1193
    • Add GuildID field to ApplicationCommand #1207
    • Add omitempty to channel_id in MessageReference #1002
    • Add UserGuildMember #1210
    • Add missing fields to GuildMemberParams #1226

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0

    build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0

    Bumps github.com/sirupsen/logrus from 1.8.1 to 1.9.0.

    Commits
    • f8bf765 Merge pull request #1343 from sirupsen/dbd-upd-dep
    • ebc9029 update dependencies
    • 56c843c Merge pull request #1337 from izhakmo/fix-cve
    • 41b4ee6 update gopkg.in/yaml.v3 to v3.0.1
    • f98ed3e Merge pull request #1333 from nathanejohnson/bumpxsys
    • 2b8f60a bump version of golangci-lint
    • 0db10ef bump version of golang.org/x/sys dependency
    • 85981c0 Merge pull request #1263 from rubensayshi/fix-race
    • 79c5ab6 Merge pull request #1283 from sirupsen/dbd-log-doc
    • 5f8c666 Improve Log methods documentation
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump github.com/bwmarrin/discordgo from 0.24.0 to 0.25.0

    build(deps): bump github.com/bwmarrin/discordgo from 0.24.0 to 0.25.0

    Bumps github.com/bwmarrin/discordgo from 0.24.0 to 0.25.0.

    Release notes

    Sourced from github.com/bwmarrin/discordgo's releases.

    DiscordGo v0.25.0

    Hi all! This one is not so feature-rich, but is filled with lots of fixes and missing features.

    What's Changed

    Breaking changes

    New features

    Other changes

    Special thanks

    ... (truncated)

    Commits
    • cd95ccc feat(*): bump version to 0.25.0
    • 9dc4ac5 Add InviteComplex (#1163)
    • eda859e feat: custom JSON marshal/unmarshal functions (#1162)
    • 6f6516b Updated RequestGuildMembers method and GuildMembersChunk event struct (#1156)
    • 2482806 Modify GuildEmojiEdit function of restapi.go (#1022)
    • 8a126aa feat: Add support of Stage Instance REST API and Events (#1158)
    • b138df6 Expose flags on MessageEdit so you can suppress embeds on other messages (#973)
    • c615fc7 Add option to disable rate-limited request retry (#1151)
    • 2b35977 fix error shadowing in InteractionRespond (#1030)
    • 4d72c30 Add ApplicationID field to Interaction (#1125)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump github.com/bwmarrin/discordgo from 0.23.2 to 0.24.0

    build(deps): bump github.com/bwmarrin/discordgo from 0.23.2 to 0.24.0

    Bumps github.com/bwmarrin/discordgo from 0.23.2 to 0.24.0.

    Release notes

    Sourced from github.com/bwmarrin/discordgo's releases.

    DiscordGo v0.24.0

    Hang tight, this one is the biggest yet

    Important notice

    From this release forward, DiscordGo will require Go 1.13+ to run.

    Breaking changes of master

    Since v.0.23.0 we've been recommending everyone to use @master version for slash commands, context menus and other new stuff.

    This led to a big problem with versioning and breaking changes, because some of the features weren't implemented fully, had some problems didn't properly function or didn't fully reflect the API, and so there was a number of breaking changes since the base feature PRs:

    API version v9

    Now DiscordGo uses API v9! Due to this fact this release includes a couple of breaking changes regarding the API:

    Breaking changes

    • User account login, endpoints and methods were dropped. bwmarrin/discordgo#1087
    • Embed now is replaced with Embeds in MessageSend and MessageEdit. bwmarrin/discordgo#1000
    • EndpointApplications no longer points to OAuth2 applications. Use EndpointOAuth2Applications for that instead. bwmarrin/discordgo#856
    • TargetUserType field in Invite and TargetUserType type are renamed to TargetType. Additionally all the constants named InviteTargetUserType<Name> were renamed to InviteTarget<Name>. See bwmarrin/discordgo#1105 for more info
    • RedirectURIs were removed from Application
    • All user flags now use UserFlag type instead of int. bwmarrin/discordgo#937
    • REST API functions now will now return wrapped version of ErrJSONUnmarshal. For error check errors.Is or errors.Unwrap should be used. bwmarrin/discordgo#924
    • ErrCodeMaximumFriendsReached and ErrCodeNoteTooLong error codes were removed. bwmarrin/discordgo#1096

    New features

    ... (truncated)

    Commits
    • 45e625d feat(*): bumped version to 0.24.0
    • 6cfbd16 feat(structs): added ErrCodeMaximumGuildsReached back
    • 11283ba feat(interactions): number application command option
    • df7555c feat: Add Guild Member Cover & Accent Color support (#1117)
    • 4b615be fix(structs): duplicated intents definition
    • 9448b0e Add Guild Scheduled Event Support (#1032)
    • 5056d53 Revert "feat(structs#Session): made sessionID and sequence fields public"
    • 4390b56 feat(structs#Session): made sessionID and sequence fields public
    • 80f525f feat(github/release): added fallback category back
    • d76fc29 feat(github/release): dropped fallback category
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
Owner
Lewis Cook
Lewis Cook
discord bot that plays music in a voice channel discord

Music discord bot by serje3 Description A bot written in the Golang language plays music on your server's voice channel on Discord. It can be built an

Сергей Ерин 1 Nov 17, 2021
A simple Discord bot developed for the Bedrock Gophers discord server.

Bedrock Gopher A simple Discord bot developed for the Bedrock Gophers discord server. Click here to invite the bot to your guild. You will also need t

Dragonfly 3 Mar 12, 2022
Feline-bot - Feline Bot for Discord using Golang

Feline Bot for Discord Development This bot is implemented using Golang. Feature

null 0 Feb 10, 2022
Bot-template - A simple bot template for creating a bot which includes a config, postgresql database

bot-template This is a simple bot template for creating a bot which includes a c

Disgo 2 Sep 9, 2022
Discord-dl: a tool to archive discord channels

discord-dl discord-dl is a tool to archive discord channels. I think it's safe t

null 3 May 18, 2022
Discord-notif - Send notifications to discord in Your pipelines or scripts

discord-notif Send notifications to discord in Your pipelines or scripts install

null 3 Mar 2, 2022
Discord-finder - The back-end for retrieving information about people on discord

About This is the backend application for Discord Finder, it allows you to retrive information about people on discord just like the discord lookup we

Alexei Ulanov 0 Jan 4, 2022
Wipe-discord - TUI application to erase Discord messages

wipe-discord Terminal user interface (TUI) application to delete Discord message

null 6 Aug 21, 2022
A Discord bot for managing ephemeral roles based upon voice channel member presence.

ephemeral-roles A Discord bot for managing ephemeral roles based upon voice channel member presence. Quickstart Click on the Ephemeral Roles logo head

Eric Wohltman 70 Nov 15, 2022
Bot used for https://discord.gg/rflutterdev

FlutterDoc A bot offering exactly what we need in The r/FlutterDev Discord Server that Dyno can't offer us. Quick search patterns that can be embedded

null 7 Feb 21, 2022
An easy-to-use discord bot written in go

Discord Bot An easy-to-use discord bot template written in golang using discordgo. This template was written for learning golang. It will be updated a

Gonz 6 Jan 23, 2022
An extension for discordgo to create a Discord bot quickly using the Builder pattern.

botbuilder An extension for discordgo to create a Discord bot quickly using the Builder pattern. Example usage: package main import ( "log" "os"

baka da yo 4 Oct 12, 2022
Bot para o discord escrito em Golang durante o workshop ministrado na Codecon 2021

Codecon Bot Bot para o discord escrito em Golang durante o workshop ministrado na Codecon 2021 Primeiramente no arquivo main.go coloque o TOKEN do bot

Bruno Lopes 3 Oct 4, 2021
A discord bot that watches for tiktok URL's and automatically uploads the corresponding video to the channel

TikiTok Bot A Discord bot that watches for TikTok URLs and sends a message to the channel with the corresponding video attached Click to invite the bo

Matthew Bass 5 Jul 28, 2022
morko discord bot with go

Commands Command Description commands Lists commands google Fetches a Google image help Describes the usage of the command. ping Ping

Samuli 0 Oct 19, 2021
An easy-to-use discord bot template written in golang using discordgo

Discord Bot An easy-to-use discord bot template written in golang using discordgo. This template was written for learning golang. It will be updated a

null 0 Oct 30, 2021
Discord Bot written in Go. Created for 'Intro to Golang', Fall 21

goDiscordBot Discord Bot written in Go. Created for 'Intro to Golang', Fall 21 Session where we coded the bot (goes over setup steps): https://gdsc.co

null 1 Nov 3, 2021
A bot connect line to discord

Line2Discord (L2D) How to use See quickstart.md features Line --> Discord Message Image File Video Voice... Discord --> Line Message Image File Video

zhixuan 3 Jul 1, 2022
HoloBot — An open-source Discord bot for Hololive fans, built with Go.

HoloBot HoloBot — An open-source Discord bot for Hololive fans, built with Go. Installation From Binary Download holobot binary here. Create a file ca

TacticalCatto 5 Dec 17, 2021