An open API service for software projects hosted on Open Collective.

github.com/obsproject/obs-bot

Source code for the obsproject Discord bot
https://github.com/obsproject/obs-bot

db: Allow specifying the database name in config

42e6cdaffc5242cb32a66c89872a0e058a267c0d authored over 1 year ago
cogs.utils.github: Ignore non-default branches on design repo

ad6ab490149aa5df773d2102300180270d46817e authored over 1 year ago
cogs.log_analysis: Fix .txt attachment detection

1f0f0c17fae264c92d20fd86d4deb7e110134e77 authored over 1 year ago
cogs.utils.github: Only include failed/cancelled jobs in CI message

3e23ac8ff9c59c32a66fd625daddb96cfdae0885 authored almost 2 years ago
main: Increase message cache size

1322746fa31bf563aadf0bef65d5e67348b975f8 authored about 2 years ago
cogs.factoids: Optionally log factoid modifications to channel

208e1bffaeec3eb8e613b5caa29d8c9f9c4c4cde authored about 2 years ago
cogs.utils.github: Ignore commits to non-release/master branches

...for the obs-studio repo only.

1a58377afc35f72ad01cfdfce1d32548a9f152de authored about 2 years ago
main,cogs.admin: Add support for "watching" status

Also renamed commands to something more sensible (aliases for old
names).

b94b4432f30263123ded40f2688eea206462c9c2 authored about 2 years ago
cogs.webhook,cogs.utils.github: Ignore temp branches

20d04ffb92a55531329a67e5659206b32bb8b006 authored over 2 years ago
cogs.utils.github: Do not treat cancelled jobs as failures

c0e5697745f41b8a85404f4524030a5663a39e41 authored over 2 years ago
[cogs.utils.github] Filter out irrelevant artifacts from embed

69799d60f9706889d95fb9843547a9af15b239a8 authored over 2 years ago
flake8: Ignore E203 warning

3670763e773eb7c7afbbc016c5a379f4f08db415 authored almost 3 years ago
cogs.log_anaylsis: Fix matching 12th gen Intel CPU names

4ed926e1cd0ae670df84160dae3c0615aff1afa7 authored almost 3 years ago
cogs.utils.github: Fix CI build Windows artifact name

8a1f6e5589fd1a8d974021bd9fac5d771e3eb63e authored almost 3 years ago
main: Add "message_content" intent

b58c8ce4af12fb018be835542b6ab79f15141761 authored about 3 years ago
requirements: Bump to disnake 2.5.0+

9a90ddf5c404f9bd33af92e26cf9314473954eb1 authored about 3 years ago
cogs.onlybans: Add missing "await"

f3cd6f1a2775d4329802f5e07595d5978d0597b0 authored about 3 years ago
cogs.{factoids,log_analysis}: Switch to "filtered_message" event

897ffbaca8e4a46df17fa8c6b382a5c3cfc1e72d authored about 3 years ago
cogs.onlybans: Dispatch "filtered_message" event after filtering

f61c5e93d61b1f9efe141facba28302d788e166d authored about 3 years ago
cogs.log_analysis: Add needles for device source spam

Closes #15

5c455e1ab0a8c95cd067113138238428055b2307 authored about 3 years ago
cogs.factoids: Also rate-limit factoids per-user and limit mentions

Closes #14

07a1f3b254e6315bb93e4dc570ca0e09a7974d76 authored about 3 years ago
cogs.admin: Use "in" rather than "startswith" for help filter

7f6d4e3791db542c6d9971ec99352b6932614d9e authored about 3 years ago
cogs.admin: Make it possible to filter help by section

25db264ebdde5227b07e98a200523e462b1cff9f authored about 3 years ago
cogs.utils.github: Fix formatting

Turns out I forgot to re-run Black...

151955c53a219b57964313a08858e34c14bcf76f authored over 3 years ago
cogs.utils.github: Set pre-template content as embed description

a0055eb9ab6b6cf71aff1daa532056979e085428 authored over 3 years ago
cogs.utils.github: Fix PR/issue formatting with null body

d47d16d007f8f2750c440be7714917df1c703f41 authored over 3 years ago
cogs.utils.github: Fix formatting empty sections/checkboxes

Closes #13

d00e6eaf2d028a4f52eed6bdd0aab4baefdd91d7 authored over 3 years ago
cogs.utils.github: Fix type annotation

dfcce26603704df7d7c25f0995ec2f506a28e3d0 authored over 3 years ago
main: Fix minor formatting issue

fceb7fa16310aead692d1ae0136cfd013772a2f8 authored over 3 years ago
Apply black code formatting

- Also adds black to link action
- Adds black config
- Adjusts flake8 config to not conflict

33835147bb833035c5f336af20ab77dee2bb10be authored over 3 years ago
cogs.utils.github: Convert issue/PR body to embed fields

Closes #12

Co-Authored-By: asher-the-thrasher <[email protected]...

e59117d89f784e5f60e485f4841937ab773b40a4 authored over 3 years ago
data: Fix example config

e97bfa86b58d9df720db7dfd2ec2c1e06a6649c6 authored over 3 years ago
cogs.log_analysis: Support analyser URLs in log embed

Closes #11

778107cd309040ab04af03355e49554168fe1fcd authored over 3 years ago
add formatting for issues

makes fields added for issues in embeds

a50260ca89cea7e3f9742aff382957852911fe08 authored over 3 years ago
cogs.factoids: Add m1 nightly url as variable

22579a7bef9f1928a8e6e12dede927996338c555 authored over 3 years ago
cogs.utils.github: Adjust nightly filter to new artifact names

bca359486b80fedb8f0f28a625f32c2f3c4b3330 authored over 3 years ago
cogs.webhooks: Handle Steam upload workflows

Also updates example config

ead8134d360b51de1ce8966b5f1c61ff69d0ab61 authored over 3 years ago
cogs.steamworks: Add Steamworks cog

Also adds example config section

fe15f36ed5fb0eef316094de4977a5d6eeb6c2c4 authored over 3 years ago
main: Add is_contributor()

Also adds config variable for contirubtor role ID

d66699edd2c1368731fe2f262fa24192e53d1159 authored over 3 years ago
cogs.utils.github: Use full artifact name in CI messages

ecad4480ca4a0399d47ec2c671ae51e385dec7ce authored over 3 years ago
cogs.utils.github: Correctly deal with skipped jobs

3d130f8695350ea6427aff9deba3f593cb9ffd82 authored over 3 years ago
cogs.factoids: Fix set creation for existing slash commands

ae38d3adda180afe9b8ef27e5e905bb74ed0dcb8 authored over 3 years ago
main: Fix is_private for threads

09f939193cffce4e2e6e92357e9427c0373900e6 authored over 3 years ago
Merge branch 'disnake' into 'master'

7017435400def41c7929121f5456257281f94bdd authored over 3 years ago
main: Ignore invalid type error

disnake is missing an `Optional[]` for help_command

bfad2c82ad5bdbeb2e6abb6f574e1adc037cd756 authored over 3 years ago
cogs.factoids: Resolve referenced message's reference if author is bot

Closes #10

006187f9b145f90b2db0fb211dde5865a329c581 authored over 3 years ago
main: Fix DM autoresponder breaking commands

1aba94cdc96f11eac7c9a8596ee2db546d569134 authored over 3 years ago
main: Fix DM autoresponder breaking commands

3d824fcb07dbae8c17dea625e3bcf1e897428a57 authored over 3 years ago
cogs.utils.github: Add repository to wiki embed

def0274cd528b0f4b596c406ae12cfeb111b3393 authored over 3 years ago
cogs.utils.github: Add repository to wiki embed

712586dec84c4b6c3c19b7b4df4337b0660d15de authored over 3 years ago
main/cogs/cogs.utils: Migrate to disnake

It's not quite ready for showtime yet,
but less painful than anticipated.

24b0e3c0dc7d92296482492a23fef248c05eaaad authored over 3 years ago
main: Add DM auto-responder

People keep DMing the bot asking for help.
But the bot can't help you.
Because it's not a person...

a71b66f1ecddc787c05a56ff0812691e999485c0 authored over 3 years ago
cogs.utils.github: Cut off commit description after 4K characters

Thanks Jim for finding this bug with your rather exhaustive commit
message :P!

be2c56d28b83e380021bc0471d02ed452bd770e2 authored over 3 years ago
cogs.utils.github: Split refname correctly

7296c93985996dd9467a106a4e897cb2896e6329 authored over 3 years ago
cogs.factoids: Fix dpy-interactions error with newer version

Apparently the internal "context" key has always to exist
so we can't remove it.

3fe12537c6115e00016f3008116ea185bd6f419b authored over 3 years ago
requirements: Set discord-py-slash-commands to < 4.0

4.0 was a rewrite into a standalone library, so it won't work with
the current bot codebase.

c0861300d734d4f933971af2731677bbf1bf55f4 authored over 3 years ago
cogs.webhooks: Move wiki activity to its own channel

e02a0ab04a603da1bfb4682ba5c15dcd9f8db33b authored over 3 years ago
cogs.webhooks: Return early if CI result empty

5698561930bec7ca86dd6e971e47927b52a67b7f authored over 3 years ago
cogs.utils.github: Add diff link to Wiki Embeds

d9f3f245f9a8d6121f7f768711be96610970bf30 authored almost 4 years ago
cogs.onlybans: Fix and improve clock reset message

8c1f68e2a0d82a04842463992a340faf2c699680 authored almost 4 years ago
cogs.webhooks: Add support for github wiki ("gollum") events

c3a015d7722997520810d4138b0e0d7f58c99f9d authored almost 4 years ago
cogs.utils.github: Add Wiki update embeds

7338dde0753445528bc92ec9def7102de7b3a61b authored almost 4 years ago
cogs.onlybans: Log mod actions (kick/ban/delete)

06aae570d294b179d13fb3fa3c1fdc6917f87533 authored almost 4 years ago
cogs.onlybans: Presort filters instead of sorting on message

a3b0475879230efcd4cc9169482e973346383d73 authored almost 4 years ago
cogs.onlybans: List filters by category

b79f1ad4ecf6c7e6ebc0c8897f9add21fcae9062 authored almost 4 years ago
cogs.onlybans: Add daily averages and real false-positive tracking to stats

07d5d179fbd5d76bdec227a3b5a7478c54771c68 authored almost 4 years ago
cogs.onlybans: Rename and alias some commands

e8adfb07657b71280e9c31f888909017e186ab94 authored almost 4 years ago
cogs.onlybans: Add message filter cog

Yes, that's the name I went with.

Currently not loaded by default while it's still being tested.

bc81f093b2b4a86fdcf5271be91d8399ba9ae6dd authored almost 4 years ago
cogs.factoids: Ignore messages that are too short

007d7137c6459d9efc1ead737758fc097678b417 authored almost 4 years ago
.github: Run Flake8 as workflow

I sure hope this works.

6d6e3de910b8259ff230842e6d4c87279bece06c authored almost 4 years ago
multiple: Fix Flake8 complaints

e428579b7e700b0467abc8d6e4a3035571e9618d authored almost 4 years ago
Add flake8 configuration file

51a7c93ec366c8ef47c6774eb1f4c0d63d43ea56 authored almost 4 years ago
cogs.admin: Use ljust to pad strings

0245ceaa5a83d8ba19f28f8712200f629776f342 authored almost 4 years ago
cogs.log_analysis: Use "Solutions" button rather than link in embed

This also bumps the discord-py-slash-command version.

3e25e789d336d15cfe4e84759004c9d35b91e196 authored about 4 years ago
requirements: Bump peony-twitter to 2.0

c4bf535661af8bb2b2c5438a4c303911ade847dc authored about 4 years ago
cogs.log_analysis: Add reactions for log download/analysis failure

Closes #5

9e0fdac6848217627e5dd9f23e80784013a4ba0d authored about 4 years ago
cogs.log_analysis: Slightly refactor log and analysis fetching

9950fe1dc39291df20fe3e6eddaecfa37905bc17 authored about 4 years ago
Bump version

Probably should've done this sooner...

60dabe4abcff209ce45edfe50e1e27caf9bcd4c0 authored about 4 years ago
multi: Typo fixes and dead code cleanup

a565b74214b99668a87f43e7f332ac51da8c139e authored about 4 years ago
Update README, Add nginx example config

05866bf30d20546bd3c950ad8e1ced5b4a887596 authored about 4 years ago
cogs.log_analysis: Explicitly log analyser timeout error

d4df67af2ab0d2a36fabf39eb38d5187301287a4 authored about 4 years ago
cogs.factoids: Migrate to new discord slash command version

This will fix commands not working.
Also bump requirement to new library version.

7f5926ccad9379f6b0bbba8521af2ded5aa08174 authored about 4 years ago
cogs.log_analysis: Fix rate-limiter bypass for supporters

A.K.A. the reason the bot completely ignored supporters.

07a51aaeb50065a1e59510b840743fc1b83bde45 authored over 4 years ago
cogs.utils.github: Strip double-newlines in issue forms

c9eef290b089e0fd284e0c83c856270d97aca22f authored over 4 years ago
cogs.utils.github: Fix copy-paste fail

533513daa5e376e2c6a746784338c3d2e1ed7a1e authored over 4 years ago
cogs.utils.github: Make author information in embed more consistent

bf1bded03ade1973f91fba5e31fd7a3d104f73c7 authored over 4 years ago
cogs.utils.github: Include discussion category in embed title

52a6079df2329959c6a27cbacf5eb6cea2bf02f4 authored over 4 years ago
cogs.webhooks: Add support for github "discussion" event

540a49348f4aa4d90c1c07186889e7686ff8ed42 authored over 4 years ago
cogs.utils.github: Add discussion embeds

20f0e1afaf3b1a94161f91d2834d8775e15cb70d authored over 4 years ago
cogs.factoids: Show error if new alias collides with existing factoid

ee39d7d905d9a9b96705edc2323e90789ecd2b38 authored over 4 years ago
cogs.factoids: Escape backticks in .info

b39ab7076b7b3fca249ed5efdcbf13c4a160f8d6 authored over 4 years ago
README/LICENSE: Switch to GPLv3

AGPLv3 is somewhat vague and probably doesn't work with
Discord bots anyway. It's also somewhat ...

cb76b187585dff3c80bbd60ce9cad2e3d241b102 authored over 4 years ago
cogs.factoids: Fix .info command setting name to None

b305498800fe31d2033a878dcaea62af9ebebb21 authored over 4 years ago
.github: Add issue templates

b1640a9b486b581257392fa553e8385dfd3b9391 authored over 4 years ago
cogs.utils.github: Return None if username is falsy

Fixes an issue where commits not attached to a github account
caused get_commit_messages to fail.

823bb7230ddfbe81488f0b3c1ad6a56168646fe2 authored over 4 years ago
cogs.utils.github: Throw exception if github API request fails

90df0279dcdbb25ecec940f4beeb6a314fc4f82e authored over 4 years ago
cogs.factoids: Do not delete reply if it contains more than just the command

f37a370d758b603932748241d860087526144b67 authored over 4 years ago
cogs.factoids: Make log messages for factoid invocations more consistent

50ee49e56a3898856165f9cb5f11bee16f05d411 authored over 4 years ago
requirements: Bump discord-py-slash-command to 1.0.9.X

a21036cf7d8cdfba1ddcb4d44b622b326e1e7f9c authored over 4 years ago
cogs.factoids: Migrate to discord.py slash commands 1.0.9

dd56386d757d05c6f7f174fb8614420f2c7860a5 authored over 4 years ago