Commit 82cd734e authored by Øystein Kristoffer Tveit's avatar Øystein Kristoffer Tveit 🔰
Browse files

Move logger to separate file

parent 80f479ec
namespace Bot
module Logging =
open System
let log message =
printfn "[%A] [Info] %s" DateTime.Now message
\ No newline at end of file
......@@ -2,13 +2,10 @@ namespace Bot
module WebsiteCheckLoop =
open System
open Logging
open DSharpPlus
open Channels
let private log message =
printfn "[%A] [Info] %s" DateTime.Now message
let private sendToChannelWith (client:DiscordClient) message id =
log <| sprintf "Sending message to channel: %A" id
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment