GithubHelp home page GithubHelp logo

sebouellette / livebot Goto Github PK

View Code? Open in Web Editor NEW
721.0 34.0 175.0 332.82 MB

An app that allows you to be inside a bot!

License: Apache License 2.0

CSS 13.39% HTML 4.76% JavaScript 81.85%
discord app application livebot discord-bot discord-js discordapp remake electron javascript

livebot's Introduction


NOTICE

LiveBot is specifically designed for bots; it cannot be used for user accounts. The LiveBot developers take no responsibility for the actions executed through LiveBot.


An app that allows you to be inside a bot!

At the moment, LiveBot is still in alpha. Installation instructions can be found below.

Support Server

If you would like to get the latest information on the project, talk with the developers, post suggestions, get help, etc., join the official LiveBot Discord server!

Preview

LiveBot image preview

LiveBot is a program built with Electron and Discord.js that will allow you to control your bot from a client resembling the official one for users. You are able to view messages in channels, send messages, interact with people and see what is going on in the servers your bot is in.

LiveBot has been built so that the style and flow is similar to discord, and while it is not exact, it is pretty close. It is also built from scratch using no frameworks, just straight HTML, CSS, and JavaScript. Due to this, and having a very small development team, additional features may take a while to be added. The point is to built from scratch, we know very well that it's not the fastest way to make something like this. However, LiveBot is slowly being filled with cool exclusive features like the pull-up user settings menu, the soon to come embed builder, native support for scripts, and more!

Installation

Release (recommended)

To download a binary executable file, simply click on the latest Release on the right side of the page, and download whichever zip or tar.gz file suits your needs. For example, if you use Windows, you should download the zip file that says "win32", if you use Linux, you will download the file that says "linux", and if you use macOS you will download the file that says "darwin". Once you download and decompress the file, just execute it as you would any other application.

From Source (unstable)

LiveBot requires the Node.js JavaScript runtime to run.

You can download the source with Git (and get updates easily) or you can download as a zipped (compressed) file from GitHub. If you wish to download as a zip file, GitHub provides a big green "Code" button which you can press to download the file.

If you want to download with Git, a bash command to do so is found below:

# with SSH (requires public key to be set)
git clone "[email protected]:SebOuellette/LiveBot.git"

# with HTTP
git clone "https://github.com/SebOuellette/LiveBot.git"

After cloning with Git or decompressing the zip file, you must open the directory the source is located in and install the dependencies with npm (or your preferred package manager) with the following command:

npm install

When your package manager is finished installing, you may start the program with npm start.

Features

Token switcher (User menu)

This box is how you log into a profile after already logging in. To log into a token by default, put it into this box then press the save button. Otherwise if you are just logging into a token just for a look, input the token into the box then press enter.

The token changer used to be at the top of the main screen, but has moved to the user options menu.

Token switcher preview

Barry

Barry is the LiveBot version of discord's Clyde. Except Barry has some fun commands! Just use the prefix / and to see the commands write /help. Only you can see what barry says, so don't worry about interfering with any conversations.
Barry's help message

Profile card

The profile card is able to tell you the username, the avatar image, the discriminator, and something discord does not have. The profile card will tell you if the account you are signed into is a bot or a user. This can be handy if you are not quite sure. As you can no longer login with a user account it's just legacy code and for the looks. This card also has the pull up menu on the right side, so you can get to all the settings.

Profile card preview

Generate Invite

LiveBot gives you the ability to generate an invite quickly from within the app, instead of having to go to your bot's application page in the Discord Developer portal. It can be found in the user settings page in the pull up menu. Just toggle all the permissions you'd like to give the invite (by default, everything recommended to use LiveBot's features is enabled).

Invite generator preview

livebot's People

Contributors

dcrime avatar gravemind1142 avatar maalos avatar migue802 avatar nintorch avatar plavorseol avatar rednixch avatar robinrmc avatar sebouellette avatar splatterxl avatar thegu5 avatar xaliks avatar yesbad avatar yuto0214w avatar

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  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  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

livebot's Issues

Mobile Support

I cant help but think how cool it would be to have this on my phone for when I'm away from home or something. I know it might be a bit hard to do but it would be a cool idea.

Tokens

Every token I put is not working and they all should work correctly.

Error

The error says
npm ERR! missing script: start

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dblox\AppData\Roaming\npm-cache_logs\2018-07-16T23_22_36_121Z-debug.log

I need help

I can't figure out on how to install it, Every method I try fails.

Member list

It'd be nice to have a list at the right side showing the members in the server. Maybe separated roles if possible?

Support

how do I access a human account as i would like to test this

DM Support

Please leave this issue open as a form of "status" for this feature, unless the feature is not planned for Livebot - i.e. don't close it just because it's already planned.

It'd be amazing if we could have DM support for bots. My intentions are to move over from a user account to a bot account, it's necessary to be able to interact with DM's.

Features for full DM support include:
-Notification upon receiving a DM (with the ability to disable this option globally or per-user) (potentially show notifications for DM's received while offline?)
-The ability to view said DM
-The ability to view a list of open DM's (similar to discord's "Direct Messages" tab, which shows all of your dm's)
-The ability to create a DM via inputting a discord discriminator
-The ability open/create a DM with a user via context menu in a server (rightclick user > "Message")
-Retain message history over app instances (view the message history for DM's)

"Join Server" button for bot accounts

Please add a feature similar to discord's "Join/Make New Server" button, but when clicked it generates an OAuth2 link that you can give to admins to invite your bot.

This way, when I want to join a friend's server, I can generate the link and give it to them to be invited.

Edit messages

One of the great features of discord is the ability to edit messages. One use case for this in LiveBot would be updating rules. I have my bot post the rule list, but I want to be able to update them without having to find and edit the message through code; just a few clicks through LiveBot

Incorrect font for Cyrillic text

изображение
There's no Cyrillic symbols in current font. Maybe use Arial or similar if current font does not contain the necessary characters?

Clickable links

It would be nice if we could click on links in livebot.

Maybe we could enter servers via links then.
Imagine the fun!

Support for selfbot plugins

Allow users to write plugins for Discord-LiveBot in order to run selfbot code with bot accounts.

Since bot accounts are more feature-rich than user accounts, when it comes to the API, we could bulk delete messages and more, as well as run self-bot code on the accounts without violating discord TOS.

I do not plan on this being implemented until LiveBot is fully functional in all other aspects, I'm simply noting it down because it would be awesome to have a repository of user-created plugins that you can toggle on in Discord-LiveBot in the future. Think BetterDiscord plugins, but for LiveBot, whereas they are not against discord TOS.

Suggestions

*Ok so, I didn't read the other suggestions. So, I don't know if there are some people who suggested this: *

{1} Emojis. / Emojis pannel. / Custom Emojis.
{2} DMs. / PMs.
{3} Notifications. (the app doesn't send me any notifications or anything.)
{4} A command to refresh the app or autorefresh. ( I tried to CTRL + R / CTRL + F5 and it did nothing.)
{5} Ability to join Voice Channels.
{6} Server files. (it's not easy to page throw ALL of the servers with them being all messy.)
{7} Better colors. The current colors are kinds of bland. Change the {Grey} to {White} and the {Dark Grey} to a {Darker Grey}. (or just use the hex codes of Discord in google.)
{8} User Settings.
{9} Status. (Including STREAMING.)
{10} Ability to join a server w/o being invited by the invitation link.
{11} Mobile app.
{12} Easier way to start* for Mac and Linux.
{13} User info: https://cdn.discordapp.com/attachments/676228129076936711/719042105770508329/unknown.png
{14} Drag & dropping files.
{15} An explanation on how to use "a" user and not a bot.
{16} Built-in codes like any discord bot. (Mee6 / Dyno / Koya.. etc..)
{17} Keyboard shortcuts like in the main Discord; CTRL + Arrow (up/down) = Scrolling through servers.

snazzah.github.io/Lightcord < Check that website, it's a good website that is like your app. The difference is:
Pros: it has DMs, it supports custom emojis (non-animated), it supports dragging and dropping files or links.
Cons: Have to type CTRL + , + "user name" / "server name".

Thanks a lot for making this app, it's really helpful!!

This happens

when i start up the app after installing the app
image
this blank screen shows up and i cant do anything

Voice channels

Will bots ever gain the ability to join voice channels, also a safe check would be nice so it doesn't load the vc as a normal channel

While the project was still dropped I was originally going to add the feature but there were a few bumps for example to get the audio from users you have to play some audio when joining to listen (the workaround was a silent 1 second audio)

Features

  • Multiline chatbox
  • Sending files
  • Leave guild
  • /server members/bots difference
  • Codeblock colors / don't show the extension
    Codeblock
  • Refresh guild list every now and then in case the bot was kicked/invited

Tokens not working!

Hi I just downloaded the executable version, I'm not kinda a master to install it myself. Every token i put in the box becomes red like it is invalid. Can somebody help me?

Can't run

Syntax error code800A03EA line 1 char 1

cant connect

i cant connect with the bot token, when i try nothing happens

npm start fails

When running "npm start" in the live bot directory returns with
npm ERR! missing script: start

log:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: start
4 verbose stack at run (C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:61:5
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:5
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:402:5
4 verbose stack at checkBinReferences_ (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:357:45)
4 verbose stack at final (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:400:3)
4 verbose stack at then (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:160:5)
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:280:12
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
5 verbose cwd C:\Users\user\Documents\lb
6 verbose Windows_NT 10.0.17134
7 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
8 verbose node v8.11.3
9 verbose npm v5.6.0
10 error missing script: start
11 verbose exit [ 1, true ]

Error on opening

'electron' is not recognized as an internal or external command,
operable program or batch file.

Suggestions

This is a lot of suggestions. I don't expect you to get them all done quickly, but here are some ideas. I'd focus on the important ones and the ones the most people want first though.

  1. Looking at Messages
  • Add a way to show embed messages (like ones from bots)
  • Add a way to show webhook messages
  • Add a way to show images
  1. Sending Messages
  • Add a way to send images
  • Add a way to upload files
  • Add a way to see how many characters your message is
  1. Ways of Quick Information
  • Add the ability to offer over a server to see it's name
  • Add the ability to left click on a user (their message, or their name) and see their logo, username, roles, and an easy way to DM them
  • Add a way to right click on a user to have quick options like call or DM, or copy ID
  1. Direct Messages
  • Add in DMs
  1. Voice Channels
  • Add in a way to enter voice channels
  1. Categories
  • Add in a way to open or close categories
  1. Administration
  • Add in the Server Settings option
  • Add in a convenient way to make channels and categories
  1. Emojis and Reactions
  • Add in a way to see emojis
  • Add in a way to easily send emojis
  • Add in a way to react to messages
  • Add in a way to view the people reacting to a message and the reaction counts of each reaction on a message

Error spam when there's no internet

image

Could be fixed by having an error handler and just returning nothing

Also the scripts get loaded once again and since there's still no way of disabling them they may run twice (Happened on the first script I made where I was stupid enough to make a bug and realized I have to restart the client because of event listeners)

Doesn't work

I added my token, clicked save and nothing happens.
image

Can't Install

I'm On Linux and There Aren't Enough Instructions and I've Come From Windows Where Everything Is Just an Exe File You Don't Need These Insanely Long Manual Installs I am New To The Terminal and No one on youtube has a video to show me how

DM Support

Can you receive and send DMs using this application?

a couple of ideas for this app

here are some ideas:

  1. the ability to save bot tokens and have a menu to switch between them
  2. messaging in dms
  3. an update button in corner when there's a new version out

if you could add these, that would be really appreciated

Reconnect/emoji bug

When the client reconnects (Either by putting the pc at sleep/hibernate or a connection loss) it duplicates the servers instead of refresing the servers
Servers
Console

Emoji bug in embeds
Discord
Discord
Livebot (Also the green bar is missing)
Livebot

Emojis

Decided to search online for emoji aliases tho I didn't find the full list so I went ahead and searched in discord itself

(The json file (Github doesn't allow .json so I'm uploading it as .txt), The first value is the regex I extracted them from)
emojis.txt

Suggestion
Custom emojis from other servers

Disable automatic loading of images and other previews

Would save on bandwidth for those with poor speeds using the program, if we could disable loading images and other link previews, similar to discord.

Please do not close this issue unless the feature will never be considered.

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.