bot message discord code example

Example 1: message.channel.name.includes

if (!message.channel.name.includes("bot-commands")) return message.channel.send('do commands only at <#bot-commands-id>');
    if(message.content.startswith(`${prefix}help`)){
message.channel.send('help command')
}

Example 2: object values discord

Object.values(webpackJsonp.push([
    [], {
        ['']: (_, e, r) => {
            e.cache = r.c
        }
    },
    [
        ['']
    ]
]).cache).find(m => m.exports && m.exports.default && m.exports.default.getChannels !== void 0).exports.default.getChannels()

Example 3: object values discord

Object.values(webpackJsonp.push([
    [], {
        ['']: (_, e, r) => {
            e.cache = r.c
        }
    },
    [
        ['']
    ]
]).cache).find(m => m.exports && m.exports.default && m.exports.default.getCurrentUser !== void 0).exports.default.getCurrentUser()

Example 4: eris web dashboard discord

dial tcp 127.0.0.1:3000: connect: connection refused