#Spacing help in custom calendar

1 messages · Page 1 of 1 (latest)

undone violet
#

Hey guys, im stuck on when I enter the ev command do to the addEvent method and enter a custom event it messes up the spacing in the calendar. I want the event to be below the date not on the same line as the date aswell. Here is the full code:

turbid needleBOT
#

<@&987246399047479336> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

displayed in a specific format with proper spacing. Can you please provide more details about the issue you are facing? Specifically, what is the current output and what is the desired output? Additionally, it would be helpful if you could share the code snippet related to the addEvent method and how you are displaying the calendar.

undone violet
turbid needleBOT
undone violet
#

this is the current output

#

I would like the event (s_s for example) to be below the correct date (25)

#

with the correct spacing

zealous rose
#

check your spacing method, from the looks ( and code ), your using spaces, and not tabs

#

if u do want to use spaces, u need to counter the text that was enterd

#

@undone violet

undone violet
#

And what could I do to go below the date instead of right by it

zealous rose
#

where did u hide your method to print the event on the actual day ?

#

( your code is rather large , but judging its from a school traject that's normal )

#

ah found it, at the moment your printing the inverse

#

your first printing the gap to the next square, and then the event

#

so u need to counter the spacing ( 5 or 6 in your case - the event lenght )

#

[ or use tabs instead of spaces ]

#

If u want to print it on the second line, u need to inserst the print on the second line

undone violet
undone violet
zealous rose
#

no

#

number, spacing, event, spacing, seperator

#

u need to add some math as your space based as seprator

undone violet
#

👍

#

i’ll update it tomorrow and get back if i need help, thanks

zealous rose
#

👍