Advertisement
porsamp

functions embed

Mar 1st, 2022
338
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stock DiscordMessageEmbed(const channel[], const caption[], const fmat[], va_args<>)
  2. {
  3.     new str[256];
  4.     va_format(str, sizeof (str), fmat, va_start<3>);
  5.  
  6.     new DCC_Embed:embed = DCC_CreateEmbed(caption);
  7.     DCC_SetEmbedColor(embed, 0x33FA00);
  8.     DCC_SetEmbedDescription(embed, str);
  9.     DCC_SendChannelEmbedMessage(DCC_FindChannelById(channel), embed);
  10. }
Advertisement
RAW Paste Data Copied
Advertisement