mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
info command text updates
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import Config
|
|||||||
|
|
||||||
config :plantid_discord_bot,
|
config :plantid_discord_bot,
|
||||||
start_time: DateTime.utc_now(),
|
start_time: DateTime.utc_now(),
|
||||||
guild_ids: [],
|
guild_ids: [1_002_507_312_159_797_318],
|
||||||
api: Nostrum.Api,
|
api: Nostrum.Api,
|
||||||
plantnet_api_key: System.get_env("PLANTNET_API_KEY"),
|
plantnet_api_key: System.get_env("PLANTNET_API_KEY"),
|
||||||
fileserver_url: System.get_env("PLANTID_FILESERVER_URL", "http://localhost:4321"),
|
fileserver_url: System.get_env("PLANTID_FILESERVER_URL", "http://localhost:4321"),
|
||||||
|
|||||||
@@ -35,11 +35,11 @@ defmodule PlantIdDiscordBot.Cog.Info do
|
|||||||
embed =
|
embed =
|
||||||
%Nostrum.Struct.Embed{}
|
%Nostrum.Struct.Embed{}
|
||||||
|> put_title("Let's break this down a bit")
|
|> put_title("Let's break this down a bit")
|
||||||
|> put_description("Use the `/id` command and add up to 5 photos\n\n")
|
|> put_description("Upload up to 5 photos into the channel where the bot lives.\n\n")
|
||||||
|> put_author(
|
|> put_author(
|
||||||
"Plant ID Bot",
|
"Plant ID Bot",
|
||||||
"https://discordapp.com",
|
"https://my.plantnet.org/",
|
||||||
"https://cdn.discordapp.com/embed/avatars/0.png"
|
"https://www.iona.edu/sites/default/files/2021-04/ancillary-images/green-flower.jpg"
|
||||||
)
|
)
|
||||||
|> put_footer(
|
|> put_footer(
|
||||||
"Powered by Pl@ntNet API",
|
"Powered by Pl@ntNet API",
|
||||||
|
|||||||
Reference in New Issue
Block a user