class_docstr: The Discord Table implementation
class_docstr_tok: ["The","Discord","Table","implementation"]
docstr: Sends messages to a Discord channel.
  
  Parameters
  ----------
  query : ast.Insert
     Given SQL INSERT query.
  
  Returns
  -------
  None
  
  Raises
  ------
  ValueError
      If the query contains an unsupported condition
docstr_tok: ["Sends","messages","to","a","Discord","channel",".","Parameters","--","--","--","--","--","query",":","ast.Insert","Given","SQL","INSERT","query",".","Returns","--","--","--","-","None","Raises","--","--","--","ValueError","If","the","query","contains","an","unsupported","condition"]
code: def insert(self, query: ast.Insert) -> None:
      """Sends messages to a Discord channel.
  
      Parameters
      ----------
      query : ast.Insert
         Given SQL INSERT query.
  
      Returns
      -------
      None
  
      Raises
      ------
      ValueError
          If the query contains an unsupported condition
      """
      insert_statement_parser = INSERTQueryParser(
          query,
          supported_columns=["channel_id", "text"],
          mandatory_columns=["channel_id", "text"],
          all_mandatory=False,
      )
      message_data = insert_statement_parser.parse_query()
      self.send_message(message_data)
  
file_path: mindsdb/mindsdb/integrations/handlers/discord_handler/discord_tables.py
imports: import pandas
  from typing import Text, List, Dict, Any
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.handlers.utilities.query_utilities.insert_query_utilities import INSERTQueryParser
  from mindsdb.utilities import log
label_desc: Use image node_id 3 for calling the MessagesTable obj's underlying member method code with example usage: obj.insert(query) without return types