Created
March 23, 2020 14:52
-
-
Save BetterProgramming/8d084479443dafb6c1e56b316f225cc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msg.channel_id.send_message(&ctx.http, |m | { | |
m.embed(|e | { | |
e.title("This is an embed!"); | |
e.description("This is a description of the embed!"); | |
return e; | |
}); | |
return m; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment