GithubHelp home page GithubHelp logo

face-hh / discordmium Goto Github PK

View Code? Open in Web Editor NEW
69.0 69.0 17.0 180 KB

Discordmium brings the Chromium browser instance in Discord, of course limited to the Discord API. - Made for Documatic Hackathon

Home Page: https://facedev.xyz

JavaScript 100.00%

discordmium's Introduction

YOOOOO

i make youtube videos and some cool shit

#1 rust closures hater

You can contact me on Discord or at [email protected]

Typing SVG

--- BEGIN RANDOM STATS NO ONE READS ---

face-hh

face-hh

--- END RANDOM STATS NO ONE READS ---

discordmium's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

discordmium's Issues

Unexpected token

I keep getting this:

/Users/Ocean/node_modules/discordmium/index.js:193
                                        const NSFW_OR_NOT = await sussySearch(int.data.options?.[0]?.value);
                                                                                               ^

SyntaxError: Unexpected token '.'

how to run the bot?

i ran this in a cmd window on windows 10
npm i discordmium

then I do not know what to do, I have made the discord bot invited it to my server have it's token but what do I do after doing npm i discordmium i am lost

Blacklist Error

It seems that this error has appeared for me.

@Audomations ➜ /workspaces/codespaces-blank $ node .
Connected to Discord!
/workspaces/codespaces-blank/node_modules/discordmium/index.js:110
                                if(blacklist.includes(int.data.options[0].value)) return int.createFollowup('Blacklisted content detected, please refrain from using such keywords.');
                                                                      ^

TypeError: Cannot read properties of undefined (reading '0')
    at Client.<anonymous> (/workspaces/codespaces-blank/node_modules/discordmium/index.js:110:43)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Error

npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2022-12-31T16_57_51_525Z-debug-0.log
exit status 1

error

[Running] node "c:\Users\User\Downloads\discordmium-main\start.js"
Connected to Discord!
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^

DiscordRESTError [50001]: Missing Access
at RequestHandler.request (c:\Users\User\node_modules\eris\lib\rest\RequestHandler.js:75:15)
at Client.bulkEditGuildCommands (c:\Users\User\node_modules\eris\lib\Client.js:407:36)
at Client. (c:\Users\User\node_modules\discordmium\index.js:56:7)
at Client.emit (node:events:513:28)
at Shard. (c:\Users\User\node_modules\eris\lib\gateway\ShardManager.js:55:30)
at Shard.emit (node:events:513:28)
at Shard.checkReady (c:\Users\User\node_modules\eris\lib\gateway\Shard.js:95:23)
at Shard.restartGuildCreateTimeout (c:\Users\User\node_modules\eris\lib\gateway\Shard.js:546:29)
at Shard.wsEvent (c:\Users\User\node_modules\eris\lib\gateway\Shard.js:1219:30)
at Shard.onPacket (c:\Users\User\node_modules\eris\lib\gateway\Shard.js:405:26)

[Done] exited with code=1 in 1.057 seconds

sooo, what is going on here?

Token

I cant seem to insert the token with it not breaking.
module.exports = async function browse("token", guildID, clearTime = 300000)

Bot crashes when used

**hello I updated the bot now iT BREAKS AFTER THE time specified.

I mean the bot works with all the new features but it is supposed to auto restart which it doesn't it just stops and crashes
**
Connected to Discord!

C:\Users\Lelkasa\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:329
error: new Errors_js_1.ProtocolError(),
^

ProtocolError: Protocol error (Page.captureScreenshot): Target closed.
at C:\Users\Lelkasa\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:329:24
at new Promise ()
at CDPSessionImpl.send (C:\Users\Lelkasa\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:325:16)
at CDPPage._CDPPage_screenshotTask (C:\Users\Lelkasa\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Page.js:2591:77)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
originalMessage: ''
}

Node.js v18.12.1

C:\Users\Lelkasa>node zbouncer.js
Connected to Discord!

typing

i feel incredibly stupid opening an issue for this but here it goes: how do i even type? i've seen the youtube video where you type without any problems, but i just can't get it to work. i get the mouse in the search box, click inside it, then press the typing key and send a message. the bot reacts to my message with a checkmark, but after refreshing the screenshot by clicking another button, there is no text visible. am i just being stupid or is there an issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.