move renderers to subfolder

This commit is contained in:
MapleLeaf
2021-12-28 13:53:23 -06:00
parent c64ba9eaaa
commit d89db1ceeb
7 changed files with 15 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
import type { Channel } from "../channel"
import type { Message, MessageOptions } from "../message"
import { Renderer } from "./renderer"
export class ChannelMessageRenderer extends Renderer {
constructor(private channel: Channel) {
super()
}
protected createMessage(options: MessageOptions): Promise<Message> {
return this.channel.send(options)
}
}