#how to : make mod prefixes into a variable
6 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
let mod = 'test'
event.create(`${mod}:wahtever`)
event.create(mod + ':wahtever')
so you don't need to specify the variable type ??
some people make functions that use an abbreviated version of the modname, which simply concat the modid to the front of the string and return it
sounds like too much typing for my fingies