Open fourjr opened 6 years ago
Upload images delete messages
Does delete
remove only my messages? Or everyone? @PallavBS
How do you upload an image via terminal? only way i can think is just send an image url and discord sends an embed along with it automatically @PallavBS
You'd have to send an image url. With the console, it sends it as a file, not a link
Batch commands.
I want to send a lot of commands to the Mudae bot for some setup purposes and cleaning, therefore it would be easier to have batch processing. Combined with the config.json
implementation, this could be:
$ discord-cli -e commands.txt
# Or:
$ node produceCommands.js | discord-cli -e -
Would be handy :)
Some features I would like to see:
[date-time] user: ${MESSAGE}
notify-send
when pinged/messaged (or an alert in the command line) [PINGED: ${channel_number} by ${user}]
channel list | Server A - Channel 1 History | user list
-------------+---------------------------------------------------+----------
DM | [01.01.2019] | @modA
- userA | [00:01] modB: Happy New Year! | @modB
- userB | [13:15] userA: Ded server | (you)
- userC | [today] | userA
- userD | [00:00] modA: Well, maybe if you guys tried to | userB
server A | interact more, it wouldn't be a | offlineA
- channel0 | dead server. | offlineB
- channel1 | [11:15] userC: Then stop kicking people for |
- channel2 | disagreeing with you. |
server B | ** userC has been removed from the server ** |
- channel0 | |
- channel1 | |
| |
| |
| |
| |
@fourjr delet this
Images could be displayed as sixels (The wikipedia page isn't the best) Basically it's a way of making each character into 2x6 colour pixels, pile them up and bingo, an image. I assume it would be easy to find a library to do the conversion. (Does PIL/Pillow have sixel abilities?)
Making it a configurable option is a must, and it should default to off as terminal support is low, but more are adopting it (e.g Windows Terminal has it in development)
This is probably something for way late into development when the basic functionality is alot more refined.
libsixel has alot of info and examples of sixels.
suggestion: fork discord.py and change it so that it uses a useragent that we can specify instead of the default discord.py one. bundle this discord.py fork with the program and add an argument to specify useragent, or use default chrome one if none is specified this would help us not get blacklisted
Any ways that Rich Presence would be included in Discord CLI?
Ability to pass a single message via command line. Log in, send message, close client, and drop to shell. although...that's probably just turning this into a program that gets called from scripts.
Ok...what about status? When I started up my bot client, it showed offline throughout the entire test.
Request your feature suggestions in this issue thread and it'll hopefully get completed.
Current Suggestions
[x]
/channel
to accept channel names @freetnt5852/channel <CHANNEL_NAME/ID> [GUILD_NAME/ID]
could work as wellguild
andchannel
in ctx, this will be quite easy to implement[ ] Embed/Image viewing @fourjr
[ ] A way to view user profiles @fourjr
[ ] View serverinfo @fourjr
[ ] A
config.json
as an option instead of CLI Args @fourjr[ ]
/image <IMAGE_URL>
@PallavBS[ ]
/delete <DELETE_AMOUNT>
@PallavBS[ ]
/help
- Prints in console a bunch of commands/desc @fourjrSENDING EMBEDS VIA COMMANDS (READ CONTRIBUTING.md)