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

Commit

Permalink
Wrap all IRC handlers in try-catch for stability (#20)
Browse files Browse the repository at this point in the history
* Wrap all IRC handlers in try-catch for stability

* Update IRC library

* Revert "Wrap all IRC handlers in try-catch for stability"

This reverts commit 4f584cb.

* Format README
  • Loading branch information
aronson authored Oct 1, 2023
1 parent 39e30a1 commit 004d9b3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
[![Publish Docker Image and Native Binaries](https://github.com/aronson/discord-irc/actions/workflows/build.yaml/badge.svg)](https://github.com/aronson/discord-irc/actions/workflows/build.yaml)

> Connects [Discord](https://discord.com/) and [IRC](https://www.ietf.org/rfc/rfc1459.txt) channels by sending messages
> back and forth.
> This project was originally written [here](https://github.com/reactiflux/discord-irc).
> back and forth. This project was originally written [here](https://github.com/reactiflux/discord-irc).
## Example

Expand Down
26 changes: 13 additions & 13 deletions lib/deps.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// IRC exports
export { Client as IrcClient } from 'https://deno.land/x/irc@v0.12.5/mod.ts';
export type { ClientOptions } from 'https://deno.land/x/irc@v0.12.5/mod.ts';
export type { PrivmsgEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/privmsg.ts';
export type { ClientError } from 'https://deno.land/x/irc@v0.12.5/core/errors.ts';
export type { RegisterEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/register.ts';
export type { NoticeEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/notice.ts';
export type { NickEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/nick.ts';
export type { JoinEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/join.ts';
export type { PartEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/part.ts';
export type { QuitEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/quit.ts';
export type { NicklistEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/nicklist.ts';
export type { CtcpActionEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/action.ts';
export type { InviteEvent } from 'https://deno.land/x/irc@v0.12.5/plugins/invite.ts';
export { Client as IrcClient } from 'https://deno.land/x/irc@v0.14.0/mod.ts';
export type { ClientOptions } from 'https://deno.land/x/irc@v0.14.0/mod.ts';
export type { PrivmsgEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/privmsg.ts';
export type { ClientError } from 'https://deno.land/x/irc@v0.14.0/core/errors.ts';
export type { RegisterEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/register.ts';
export type { NoticeEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/notice.ts';
export type { NickEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/nick.ts';
export type { JoinEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/join.ts';
export type { PartEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/part.ts';
export type { QuitEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/quit.ts';
export type { NicklistEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/nicklist.ts';
export type { CtcpActionEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/action.ts';
export type { InviteEvent } from 'https://deno.land/x/irc@v0.14.0/plugins/invite.ts';
// Harmony/Discord exports
export {
AllowedMentionType,
Expand Down

0 comments on commit 004d9b3

Please sign in to comment.