DM List Of Comamnds


Not to sure fi this would go here or feature requests as its more of a preference but how would i get the code below to DM like the !account link does instead of posting it into chat

        if (command.equalsIgnoreCase('botcommands')) {
            var keys = $.inidb.GetKeyList('discordPermcom', ''),
                temp = [],

            for (i = 0; i < keys.length; i++) {
                if (keys[i].indexOf(' ') === -1) {
                    temp.push('!' + keys[i]);
            $.paginateArrayDiscord(temp, '', ', ', channel, mention);

I would also like to put it into an enbed and seperate the groups of commands so like the mod and the viewer commands kine of like below i just think its looks better and is better to send it via dm to only show them there commands so if a mod does it viewers can see there commands

Screenshot from 2017-10-21 18-09-28


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.