A reliable and simple Discord client, which can be altered/expanded with modules. >> WARNING Automating Discord user accounts beyond what the bot API can provide is against TOS. I'm not responsible if you get banned. >> NOTE I thought this would be a finalized design, but I have some cool ideas and I will probably expand this concept. Expect loss of data, at this point. I will remove this note once I feel your data is somewhat safe. >> UI The UI is a simple terminal menu. There are no auto-refreshes of channels or messages. You leave the text empty and press enter to refresh >> WHAT WORKS * Channel list (Private Message / Group only) * Unread message indicator * Sending text messages * Message sound Everything that is not on this list, does not work. >> SETUP 1. Install Python 3.8+ 2. Get prerequisites: python3 -m pip install "munch" "git+https://github.com/dolfies/discord.py-self" 3. Pass your Discord account token, either by setting the environment variable "DISCORD_TOKEN" or making a file in "$USER/.config/me.fier.discord-client/token.txt" (UNIX) or "%appdata%\me.fier.discord-client\token.txt" (WINDOWS) 4. Run app.py >> HOW TO USE * Navigate to a channel by typing its corresponding number * Chat by entering text and pressing enter * Leave a channel by typing /quit * You can refresh the channel list or the messages in a channel by pressing enter while nothing is typed in >> TECHNICAL INFORMATION All private (Private Message / Group) messages and channels are logged into an sqlite database (with appropriate permissions set on Unix). When logging in, all messages that are not part of that database already, are scraped and logged too. Note that only some of the content is logged, not all of it. You can find the important part of the code in /user/module, everything else is fluff. >> THINGS I WOULD LIKE TO ADD * Proper way to quit the program (?) * More modularity: * Custom fields and tables to the database (?) * Custom commands * A directory for each user logged into, so arbitrary data can be stored with each of them * Logging the last seen user and channel name (would be cool for when you get banned and you need to recover x)) * The ability to arbitrarily add discord.py event handlers (?)
Description
Languages
Python
100%