-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π feat: lets go to jsr [SMALL BREAKING: READ COMMIT MSG]
β feat: use node redis instead of denodrivers redis
- Loading branch information
1 parent
9ca7082
commit 47677d3
Showing
9 changed files
with
109 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
import { Mixin } from '../../deps.ts' | ||
import type { GuildNewsChannelPayload } from '../types/channel.ts' | ||
import type { Client } from '../client/mod.ts' | ||
import type { Guild } from './guild.ts' | ||
import { GuildTextBasedChannel } from './guildTextChannel.ts' | ||
import { GuildThreadAvailableChannel } from './guildThreadAvailableChannel.ts' | ||
|
||
export class NewsChannel extends Mixin( | ||
GuildTextBasedChannel, | ||
GuildThreadAvailableChannel | ||
) {} | ||
const NewsChannelSuper: (abstract new ( | ||
client: Client, | ||
data: GuildNewsChannelPayload, | ||
guild: Guild | ||
) => GuildTextBasedChannel & GuildThreadAvailableChannel) & | ||
Pick<typeof GuildTextBasedChannel, keyof typeof GuildTextBasedChannel> & | ||
Pick< | ||
typeof GuildThreadAvailableChannel, | ||
keyof typeof GuildThreadAvailableChannel | ||
> = Mixin(GuildTextBasedChannel, GuildThreadAvailableChannel) | ||
|
||
export class NewsChannel extends NewsChannelSuper {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters