Package: dline
Warning: Currently Linux/BSD/Mac only, it may be a while before support for Windows comes backNote: You can find a feature list, current bugs, and things I'm currently working
on on mywebpage.How to installOption A: pip (through PyPi)Runpip3 install --user --process-dependency-link dlineOption B: pip (local repository)Clone repogit clone https://github.com/NatTupper/dlineRunpip3 install --user --process-dependency-link .Option C: Running from the repo folderClone the repogit clone https://github.com/NatTupper/dlineInstall the dependencies:pip3 install --user -r requirements.txtHow to useFind your discord "token"Go tohttp://discordapp.com/channels/@meOpen your browser's developer console. (NormallyF12orCTRL-SHIFT-I)Go into "network" and hit F5. Type "v6" in the filter fieldFilter by XHR and look through entries until you find "authorization" under
"request headers". This is your token.
If all else fails, join the dev discord and we'll be glad to help!Rundline --store-tokento store your tokenRundline --copy-skeletonto get a template configEdit~/.config/dline/config.yamlto your choosing.Launch withdline(if you installed with pip) or ./dline.py (Running in repo
folder)Current Features/channel to switch channel/guild to switch guild/nick to change nickname (per guild)typing without a leading prefix will submit to current chat" is typing..." supportprivate messagingcolored output, with user definable colors and custom rolesChannel logs update when users edit messages/channels, /guilds, /users to view information/game to update the "Now playing: " statususe /help to see more commandsunicode emoji displayal supportsending emojis in messages (unicodeandcustom)File uploading via path (ex: /file /path/to/file)italic, bold, and underline font supportinline `code` and ```code``` block supportURL detection, highlighting in blue + italicsautomatic updating, fetching the latest master branch's commitchannel logs blink red upon unread messagesline scrollingdiscord "Nitro" emojisExternalized configs via YAML ~/.config/dline/config.yaml@member expansion/mentions/status to change online presenceSee mywebpagefor more information on features.Color CustomizationAlmost all aspects of the client can be colored to the user's wishes. You can set
these colors from within~/.config/dline/config.yamlNote: These assume that you're using the standard terminal colors. If you have colors
already defined in your ~/.Xresources or similar, this will be very confusing.Launchingdline uses git for automatic updates, so you must be within the dline directory upon
starting. Manually you can launch viapython3.7 ./dline.py, however it is advised
to create a helper script to do this for you.A Note On EmojisCurrentlymostof the standard unicode emojis are displaying. Note your terminal
must be able to render these symbolsandyou must be using a font set that contains
them. Because some of the emojis that discord uses are non-standard, they may not
display properly. Here is an example of a random few.Custom emojis however, are displayed as :emoji_name:Note On Font SupportLike emojis, not all terminals and fonts support italic/bold/underline and
'background' colors, (which are used for `code`).  If these features aren't working
for you, odds are you are not using a supported terminal/font. Experiment with
different setups to see what works.Letting me know what setupsdon'twork helps a lot!Dude this is awesome! How can I support the project?Star it! 🌟It helps to get it higher in GitHub's search results as well as making me feel good
inside. ;)If you'd like to contribute, pull requests arealwayswelcome!If you would like to get more info on what could be done or to discuss the project in
general, come join the Discord guild at:https://discord.gg/HWY2dDg. You can also try
joining Discline's guild (which this project is a fork of) here:https://discord.gg/rBGQMTk.FAQYet another discord cli?I didn't like any of the implementations I found around github. Too buggy.  Too
bloated. Bad UI. No customization. Some, after discord updates, no longer functioning
at all.Why use a token and not email/password?Discord's APIdoesallow for email/pass login, but if you were to have 2FA, (2
factor authentication), enabled on your account, Discord would interpret this as a
malicious attack against your account and disable it.So, because"Nobody reads the readme", I have disabled this.How should I submit a GitHub issue?Try to include this format:OS: Linux/Debian
Terminal: urxvt
Font: source code pro
Python Version: 3.6
How to reproduce: xxxxxxIt says my python is out of date even though I have 3.5+ installed?Probably because you have multiple versions installed. Try running withpython3.5orpython3.6rather than just "python3"I'm getting weird encoding errors on startupYou probably don't have UTF-8 set. If you're using Linux, look up how to do this
according to your distro.If you're on BSD, add this to your /etc/profile:export LC_CTYPE=en_US.UTF-8
export LESSCHARSET=utf-8and make sure it gets sourced upon opening your terminal.Misc ScreenshotsIt can even be configured to hide most elements of the UI in the config:Known BugsMy bug isn't listed here, how can I voice my problem?If you have a specific issue that isn't listed here or in the wiki, post a github
issue with a detailed explanation and I can try to get it fixed. Join the discord if
you want live help.See mywebpagefor more information on bugs.Token WarningDoNOTshare your token with anybody, if someone else gets ahold of your token,
they may control your account. If you are someone who keeps their ~/.config on
github,add your token to your .gitignore.  Otherwise it will become public.LicenseLicensed under GNU-GPLv3Legal DisclaimerDiscord hasn't put out any official statement on whether using their API for 3rd
party clients is allowed or not. Theyhavesaid that using their API to make
"self-bots" is against their ToS. By self-bots, it is my understanding they mean
automating non-bot accounts as bots.  My code has no automated functions, or any
on_events that provide features not included in the official client.As far as I know, nobody has been banned for using things like this before, but
Discord might one day change their mind. With this said, I takenoresponsibility
if this gets you banned.