Discordia Notes - Shadi432/ChadBot2.0 GitHub Wiki
General Notes There might be custom functionality if you print a specific class, so it might output a string with some information despite the object you're printing might be a table.
Guild.textChannels
First argument is the number of textChannels in the server.
2nd argument is a dictionary where the key is the id of every text channel as a string. The value pairs of this dictionary are a table where: index 1 is the guild and the id as a string; index 2 is an integer (0 for now); index 3 are more integers (unknown); index 4 are channel IDs again as a string; index 5 is the guild id for each channel; index 6 are unknown 0 integers again; index 7 and 8 are more 0 integers; index 9 is nil; index 10 has a cache; index 11 is a weakCache; index 12 is false nil false?
third is a string that describes the class of the text channels. Fourth Argument is the guild and its id. Fifth argument is another dictionary?
Guild.voiceChannels For each voice channel there is a key pair value, with the key being the guild id as a string and the value being a table. The contents of the table are: 1)The voice channel id as a string. 2) A table full of details about the guilds' voice channels.
Stopwatch: How does it work? Clock: How does it work?