Comando !editcall

Asked Dec 9, 2021·1 reply·Last activity 4 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

hola, no se si alguien podria ayudarme , he estado tratando que crear un comando(!c1) que edite a otro comando(!call) pero al momento de utilizar ¨!c1¨ se edita el comando !call y se pone mi nombre como se ve en la foto, alguien sabe como hacer para que ya no se ponga mi nombre pero se quede el ¨$(user)¨ en ¨!call¨ porque quiero que nightbot mencione junto con el comando a quien utilice el comando, me dijeron que se hacia con $(eval) pero no se como se hace xd

Captura_de_pantalla_2021-12-06_215225.png

1 reply

You can use $(eval) to break up the parts of other variables to prevent execution. For example $(eval '$'+'(user)') would result as $(user) getting passed to the new command.