Skip to content

Commit

Permalink
🐛 Don't send the message in the source channel
Browse files Browse the repository at this point in the history
  • Loading branch information
niksudan committed Aug 3, 2020
1 parent f13284a commit edd3065
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ export default class Bot {
* Find a channel by ID
*/
private async findChannel(id: string) {
return (await this.client.channels.fetch(
process.env.MUSIC_SOURCE_CHANNEL_ID,
)) as TextChannel;
return (await this.client.channels.fetch(id)) as TextChannel;
}

/**
Expand Down

0 comments on commit edd3065

Please sign in to comment.