channels

A tag to display all the channels in a category. If no category is provided after calling ``!channels``, the tag will instead list all possible categories as they are accepted as arguments by the tag. Currently is hand written for the server I created it for and is meant to use the argument to select between a list of hard coded messages. At the moment, the conditional which checks if the argument is in the list of accepted arguments returns -1 regardless of whether the given argument is in the list of allowed arguments, causing it to always default to the no argument case. In the screenshots, I placed this line ``{index({args(1)}):names}==-1`` above the if block for debugging and it always returned true in testing. I will send screenshots in the support forum post.

Private

Content

21 lines
{=():}
{=(arg):{{if(16>{index(&£):{join( ):{replace(, ):{args(1)}}} &£}):args(1)}}}
{=(args1):{urlencode:{lower:{arg}}}}

{=(is.{args1}):Valid categories for !channels include ``chatter``, ``art``,  ``food``, ``techgames``, ``ttrpg``, ``health``, and ``support``. Use !channels with a category name to view all of the channels in that category (Ex: ``!channels chatter``).}

{=(is.chatter):**Channels in Chatter:** <#1287913168248635452>, <#1288249325687930932>, <#1287891296354177069>, <#1288931523982262364>, <#1288931616474923068>, <#1293659258369609930>, <#1293659307069669426>, <#1293664252481245266>, <#1289985995743432704>, <#1288338817123749908>,  <#1303547221261680650>}

{=(is.art):**Channels in Art, Music, and Literature:** <#1288343341293109268>, <#1288343666015862846>, <#1288900824826908815>, <#1288866711340060813>, <#1288900997279911987>, <#1288901288993751111>, <#1288901611980066897>, <#1288925426064031936>, <#1288317821687959593>}

{=(is.food):**Channels in Cooking and Food:** <#1299740440786112512>, <#1299740505160159324>, <#1299740539255787663>, <#1299740598282227712>, <#1299741977427968022>, <#1299742018905444445>, <#1299742079085183048>, <#1299742138065621073>, <#1303547963712344084>}

{=(is.techgames):**Channels in Tech and Video Gaming:** <#1288902267428274267>, <#1288693077082509404>, <#1288903009186873446>, <#1288903165684486226>, <#1288904826251378740>, <#1288251840760381554>}

{=(is.ttrpg):**Channels in TTRPG and World Building:** <#1288905980876423272>, <#1288925022676586566>, <#1288927325681090651>, <#1288927508825378896>, <#1288927376071196744>, <#1288928931356999741>, <#1288928831088103525>}

{=(is.health):**Channels in Health and Wellness:** <#1288335984425177158>, <#1288929768166658151>, <#1288929966536527942>, <#1288930080357089310>, <#1288930191107690627>, <#1288930806471069706>, <#1288334712569597982>, <#1289007155814596711>, <#1289007212437442602>, <#1289007294792732785>}

{=(is.support):**Channels in Support:** <#1287919654207225886>, <#1301565609636790282>, <#1288333522322325595>, <#1295958565688840315>, <#1288334350752153600>, <#1288335317216006299>, <#1288335569268772945>, <#1293661432231235634>, <#1313529903123140618>, <#1293661280682512498>, <#1294276696257859604>,  <#1292640981312606229>, <#1288337059148468276>, <#1303548950120370256>}

{is.{args1}}
Raw JSON
{
  "id": 2133688,
  "created_at": "2024-10-16T21:35:38.000Z",
  "tag_name": "channels",
  "nsfw": false,
  "owner_id": "988868921656508437",
  "uses": 82,
  "description": "A tag to display all the channels in a category. If no category is provided after calling ``!channels``, the tag will instead list all possible categories as they are accepted as arguments by the tag. Currently is hand written for the server I created it for and is meant to use the argument to select between a list of hard coded messages.\n\nAt the moment, the conditional which checks if the argument is in the list of accepted arguments returns -1 regardless of whether the given argument is in the list of allowed arguments, causing it to always default to the no argument case. In the screenshots, I placed this line ``{index({args(1)}):names}==-1`` above the if block for debugging and it always returned true in testing. I will send screenshots in the support forum post.",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "1287577774663532555",
  "sharer": "988868921656508437",
  "content": "{=():}\n{=(arg):{{if(16>{index(&£):{join( ):{replace(, ):{args(1)}}} &£}):args(1)}}}\n{=(args1):{urlencode:{lower:{arg}}}}\n\n{=(is.{args1}):Valid categories for !channels include ``chatter``, ``art``,  ``food``, ``techgames``, ``ttrpg``, ``health``, and ``support``. Use !channels with a category name to view all of the channels in that category (Ex: ``!channels chatter``).}\n\n{=(is.chatter):**Channels in Chatter:** <#1287913168248635452>, <#1288249325687930932>, <#1287891296354177069>, <#1288931523982262364>, <#1288931616474923068>, <#1293659258369609930>, <#1293659307069669426>, <#1293664252481245266>, <#1289985995743432704>, <#1288338817123749908>,  <#1303547221261680650>}\n\n{=(is.art):**Channels in Art, Music, and Literature:** <#1288343341293109268>, <#1288343666015862846>, <#1288900824826908815>, <#1288866711340060813>, <#1288900997279911987>, <#1288901288993751111>, <#1288901611980066897>, <#1288925426064031936>, <#1288317821687959593>}\n\n{=(is.food):**Channels in Cooking and Food:** <#1299740440786112512>, <#1299740505160159324>, <#1299740539255787663>, <#1299740598282227712>, <#1299741977427968022>, <#1299742018905444445>, <#1299742079085183048>, <#1299742138065621073>, <#1303547963712344084>}\n\n{=(is.techgames):**Channels in Tech and Video Gaming:** <#1288902267428274267>, <#1288693077082509404>, <#1288903009186873446>, <#1288903165684486226>, <#1288904826251378740>, <#1288251840760381554>}\n\n{=(is.ttrpg):**Channels in TTRPG and World Building:** <#1288905980876423272>, <#1288925022676586566>, <#1288927325681090651>, <#1288927508825378896>, <#1288927376071196744>, <#1288928931356999741>, <#1288928831088103525>}\n\n{=(is.health):**Channels in Health and Wellness:** <#1288335984425177158>, <#1288929768166658151>, <#1288929966536527942>, <#1288930080357089310>, <#1288930191107690627>, <#1288930806471069706>, <#1288334712569597982>, <#1289007155814596711>, <#1289007212437442602>, <#1289007294792732785>}\n\n{=(is.support):**Channels in Support:** <#1287919654207225886>, <#1301565609636790282>, <#1288333522322325595>, <#1295958565688840315>, <#1288334350752153600>, <#1288335317216006299>, <#1288335569268772945>, <#1293661432231235634>, <#1313529903123140618>, <#1293661280682512498>, <#1294276696257859604>,  <#1292640981312606229>, <#1288337059148468276>, <#1303548950120370256>}\n\n{is.{args1}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T19:45:42.330Z"
}