This commit is contained in:
Joseph Ferano 2022-05-29 16:45:54 +07:00
parent 03010e51ba
commit 517cf46b1a

View File

@ -453,8 +453,7 @@ let handleMemberUpdated (client : DiscordClient) (event : GuildMemberUpdateEvent
let handleMessageCreated _ (event : MessageCreateEventArgs) = let handleMessageCreated _ (event : MessageCreateEventArgs) =
task { task {
let bot = GuildEnvironment.botClientRecruit.Value let bot = GuildEnvironment.botClientRecruit.Value
printfn $"{event.Channel.Id} - {GuildEnvironment.channelSubmitWallet}" printfn $"What channel is it? {event.Channel.Id} - {GuildEnvironment.channelSubmitWallet} ||| Who done it? {event.Author.Id} - {bot.CurrentUser.Id}"
printfn $"{event.Author.Id} - {bot.CurrentUser.Id}"
if event.Channel.Id = GuildEnvironment.channelSubmitWallet && event.Author.Id <> bot.CurrentUser.Id then if event.Channel.Id = GuildEnvironment.channelSubmitWallet && event.Author.Id <> bot.CurrentUser.Id then
do! Async.Sleep 100 do! Async.Sleep 100
printfn "Going to delete" printfn "Going to delete"