fix id raising
This commit is contained in:
@@ -121,7 +121,7 @@ export class ReacordDiscordJs extends Reacord {
|
|||||||
: event.channel
|
: event.channel
|
||||||
|
|
||||||
if (!channel.isTextBased()) {
|
if (!channel.isTextBased()) {
|
||||||
raise(`Channel ${event} is not a text channel`)
|
raise(`Channel ${channel.id} is not a text channel`)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opts?.reply) {
|
if (opts?.reply) {
|
||||||
|
|||||||
Reference in New Issue
Block a user