hcasim4839 / discord_bot

A simple personal bot to help enhance gaming experience with friends
1 stars 1 forks source link

Story: Convert the ascii art to an image #17

Open hcasim4839 opened 6 months ago

hcasim4839 commented 6 months ago

Description: Right now the bot sends the table as an ascii. The issue is on smaller devices it looks completely different than on larger devices. To make the image similar on any device it would be better to save the ascii as a text file and then convert that text file to an image file (vector?). Then send that file to show the table with the preview option as true.

Preferred that this function be place in the bot_utilities.py

Long term goals: These functions to create a string to text file and from text file to an image file could be useful for future features where there is a discrepancy between mobile and web.

Requirements