Private Async Function cmdList() As Task Dim m = Context.Message Dim u = Context.User Dim g = Context.Guild Dim c = Context.Client Dim words As String = "" Dim embed As New EmbedBuilder With { .Title = $"Wallpaper keyword list", .ImageUrl = "https://i.imgur.com/vc241Ku.jpeg", .Description = "The full list of keywords in our random wallpaper list", .Color = New Color(masterClass.randomEmbedColor), .ThumbnailUrl = g.IconUrl, .Timestamp = Context.Message.Timestamp, .Footer = New EmbedFooterBuilder With { .Text = "Keyword Data", .IconUrl = g.IconUrl } } For Each keyword As String In wall.keywords words = words + keyword + " **|** " Next embed.AddField("Full list", words) Await m.Channel.SendMessageAsync("", False, embed.Build()) End Function
Это моя команда, чтобы получить каждое слово из массива и поместить его в поле. Что я хочу знать, так это то, как мне сделать так, чтобы после заполнения поля оно автоматически добавляло новое и продолжало список. Это может быть немного надуманным, но просто не знаю, как это сделать. Извините, если я не могу понять какой-либо из ответов. Я все еще немного новичок в программировании на Discord.net и вообще в vb.
words
, используя новое слово, продолжайте ту же логику, пока не закончите. - person Anu6is   schedule 25.12.2020