#Can the ability to use use TeXit be customized based on roles rather than channels?

1 messages · Page 1 of 1 (latest)

uncut tinsel
#

As the title says, we recently added this bot to a large server and wonder if there is a feature that allows us to give permission to use this bot only to members with select roles. I have not found such a feature so I am wondering if it exists or not. With only channel-restrictions, this bot can be problematic w.r.t. potential spam for servers of sufficient size after all.

Furthermore: Can the size of rendered output be customized? Similarly, I have not been able to find such a feature so this is just me double-checking.

untold bison
#

The answer to your first question is not really. There are certain commands restricted to designated modroles but not in general.

#

However, I do not understand how TeXit can be problematic for spam. A user can invoke TeXit iff they can send messages in a channel. I don't know what difference being able to use TeXit would bring.

#

For your second question, TeXit tries to make it so the text in each compile appear approximately the same size (by padding the output image with invisible pixels when it is less wide than the "page"). The exact way Discord displays images on different platforms is a mystery and not really in our control.

#

In that regard the one option you have is ,tc alwayswide, which toggles the aforementioned padding

#

,tc alwayswide

unkempt eagleBOT
#
Configuration options for `alwayswide`

Whether to skip the automatic horizontal addition of transparent pixels to LaTeX output.
​ Current value: Disabled
​ Default value: Disabled
Accepted input: Yes/No, On/Off, True/False, Enabled/Disabled

untold bison
#

,tex abc

unkempt eagleBOT
untold bison
#

,tc alwayswide yes

unkempt eagleBOT
#

Transparent pixels will no longer be added to your rendered LaTeX.
:warning: If your input is short, Discord will make the rendered image huge!

untold bison
#

,tex abc

unkempt eagleBOT
uncut tinsel
#

I see, thanks for the info 👍

stone olive
#

,tc alwayswide yes

unkempt eagleBOT
#

Transparent pixels will no longer be added to your rendered LaTeX.
:warning: If your input is short, Discord will make the rendered image huge!

stone olive
#

,tc alwayswide disabled