1
0
Fork 0
mirror of https://github.com/1disk/edp445.git synced 2024-08-14 22:47:02 +00:00

added a few messages that the bot would respond to

This commit is contained in:
koelo 2022-12-04 00:17:41 +00:00
parent c63d9a6e13
commit de29e2769c
384 changed files with 56249 additions and 43 deletions

32
node_modules/toidentifier/index.js generated vendored Normal file
View file

@ -0,0 +1,32 @@
/*!
* toidentifier
* Copyright(c) 2016 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict'
/**
* Module exports.
* @public
*/
module.exports = toIdentifier
/**
* Trasform the given string into a JavaScript identifier
*
* @param {string} str
* @returns {string}
* @public
*/
function toIdentifier (str) {
return str
.split(' ')
.map(function (token) {
return token.slice(0, 1).toUpperCase() + token.slice(1)
})
.join('')
.replace(/[^ _0-9a-z]/gi, '')
}