Confused
This commit is contained in:
parent
03010e51ba
commit
517cf46b1a
@ -453,8 +453,7 @@ let handleMemberUpdated (client : DiscordClient) (event : GuildMemberUpdateEvent
|
||||
let handleMessageCreated _ (event : MessageCreateEventArgs) =
|
||||
task {
|
||||
let bot = GuildEnvironment.botClientRecruit.Value
|
||||
printfn $"{event.Channel.Id} - {GuildEnvironment.channelSubmitWallet}"
|
||||
printfn $"{event.Author.Id} - {bot.CurrentUser.Id}"
|
||||
printfn $"What channel is it? {event.Channel.Id} - {GuildEnvironment.channelSubmitWallet} ||| Who done it? {event.Author.Id} - {bot.CurrentUser.Id}"
|
||||
if event.Channel.Id = GuildEnvironment.channelSubmitWallet && event.Author.Id <> bot.CurrentUser.Id then
|
||||
do! Async.Sleep 100
|
||||
printfn "Going to delete"
|
||||
|
Loading…
x
Reference in New Issue
Block a user