This commit is contained in:
derpystuff 2022-05-24 21:22:47 +02:00
parent 726861294b
commit aec828beb5
14 changed files with 421 additions and 25 deletions

View file

@ -16,4 +16,8 @@ module.exports.codeblock = function(type, content){
module.exports.link = function(url, masked){
if(masked) return `[${masked}](${url})`
return url
}
module.exports.timestamp = function(time, flag = "t"){
return `<${flag}:${Math.floor(time/1000)}>`
}