Skip to content

Commit dc5554d

Browse files
committed
Updated README, fixed gifs
The README's install instructions have been updated to reflect the new release-focused way of distributing LiveBot. Gifs have also been fixed once more, as there was typo with the file extension. They have been tested, and will appear correctly.
1 parent 0a7c2c4 commit dc5554d

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ LiveBot is a program built with electron and discord.js, that will allow you to
1717
LiveBot had 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 developer team, additions 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!
1818

1919
## How to install
20-
### Manual (Necessary for Mac and Linux - Works on Windows too)
21-
**Before following any installation steps**, make sure you [install Node.js](https://nodejs.org/en/).
22-
You can install LiveBot in many ways such as Git, but the easiest way is to just download as a compressed (zip) file, which you can do by pressing the green button above that has `Code` written on it. Once you have downloaded and extracted the zip file, go into the directory with a command prompt or shell window. In the shell window, enter the command `npm install` to install the needed dependencies. Make sure that the terminal window is running as Administrator (or root, for Linux people). <!-- is this necessary? --> Once this process is finished — it may take some time — type `npm start`.
20+
### Easy / Stable version
21+
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 will 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 uncompress the file, just execute the binary file as you would any other application.
22+
23+
24+
### Manual / Possibly unstable
25+
#### **Before following any installation steps**, make sure you [install Node.js](https://nodejs.org/en/).
26+
LiveBot can be installed using either CLI commands, or by downloading the zip. Directions for both can be found by clicking the green "Code" button found above. To run the source code, be sure to download the necessary dependancies through `npm install`, then run `npm start`.
2327

24-
### Easy (Windows only)
25-
If you would like to just download and open a `.exe` file, find the releases on the right side of this page, and download the latest release. You will need to download the source code and the `.exe` file, then place the file in the source code folder.
2628

2729
## Some features:
2830
### Token switcher (User menu)

js/guildList.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ async function addGuilds() {
5252
// The guild has an icon, create the image
5353
img = document.createElement('img');
5454

55-
let ico;
56-
ico = `https://cdn.discordapp.com/icons/${g.id}/${g.icon}.webp?size=64`;
55+
let ico = `https://cdn.discordapp.com/icons/${g.id}/${g.icon}.webp?size=64`;
5756

5857
// Check if the icon is animated and add the animation on hover or remove it
5958
if (g.icon.startsWith('a_')) {
6059
img.onmouseenter = () => {
61-
img.src = ico.replace('.webp', 'gif');
60+
img.src = ico.replace('.webp', '.gif');
6261
};
6362
img.onmouseleave = () => {
6463
img.src = ico;

0 commit comments

Comments
 (0)