Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Make Bridget ignore GH notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
gingershaped committed Nov 27, 2023
1 parent 2e5650a commit fd7bd9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vyxalbot2/github/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ async def wrapper(self: "GitHubApplication", event: GitHubEvent, services: list[
if line == PinThat:
await service.pin(ids[-1])
continue
ids.append(await service.send(line, discordSuppressEmbeds=True))
# ZWJ so Bridget ignores it
ids.append(await service.send("\u200d" + line, discordSuppressEmbeds=True))
return wrapper

class GitHubApplication(Application):
Expand Down

0 comments on commit fd7bd9e

Please sign in to comment.