Pārlūkot izejas kodu

Fixes history not working for some channels

Drn 4 gadi atpakaļ
vecāks
revīzija
7f4622330c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      downloads.go

+ 1 - 1
downloads.go

@@ -449,7 +449,7 @@ func tryDownload(inputURL string, filename string, path string, message *discord
 	if historyCmd {
 		logPrefix = logPrefixHistory + " "
 	}
-	if isCommandableChannel(message) {
+	if isCommandableChannel(message) || historyCmd {
 		var channelConfig configurationChannel
 		if isChannelRegistered(message.ChannelID) {
 			channelConfig = getChannelConfig(message.ChannelID)