<commit_before>import * as plugin_base from '../plugin_base'
var manifest = require('./manifest.json')

class MyExamplePlugin extends plugin_base.voluble_plugin{
    api_key: string | undefined
    api_secret: string | undefined

    constructor(){
        super(manifest)
        this.api_key = manifest.data_tables.custom['api_key']
        this.api_secret = manifest.data_tables.custom['api_secret']
    }

    init():boolean{
        return true
    }

    shutdown():boolean{
        return true
    }

    send_message(message: plugin_base.messageInstance, contact:plugin_base.contactInstance){
        this.message_state_update(message, "MSG_FAILED")
        return false
    }
}

var createPlugin = function () {
    return new MyExamplePlugin()
}

module.exports = createPlugin;<commit_msg>Removed `shutdown` function, it shouldn't really be necessary for plugins<commit_after>import * as plugin_base from '../plugin_base'
var manifest = require('./manifest.json')

class MyExamplePlugin extends plugin_base.voluble_plugin{
    api_key: string | undefined
    api_secret: string | undefined

    constructor(){
        super(manifest)
        this.api_key = manifest.data_tables.custom['api_key']
        this.api_secret = manifest.data_tables.custom['api_secret']
    }

    init():boolean{
        return true
    }

    send_message(message: plugin_base.messageInstance, contact:plugin_base.contactInstance){
        this.message_state_update(message, "MSG_FAILED")
        return false
    }
}

var createPlugin = function () {
    return new MyExamplePlugin()
}

module.exports = createPlugin;
{'fraction_non_alphanumeric': 0.1001866832607343, 'fraction_numerical': 0.0, 'mean_word_length': 3.504201680672269, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3804092', 'n_tokens_mistral': 460, 'n_tokens_neox': 446, 'n_words': 95}