Skip to content

Getting Started

yoshisman8 edited this page Jun 18, 2019 · 1 revision

Getting Started

Before you start using Interactive Menus, you will need to create a new instance of the MenuService.

It is highly recommended you use Dependency Injection to create this instance.

using Discord.Addon.InteractiveMenu;
using Discord.WebSocket;

var MenuService = New MenuService(DiscordSocketClient, Timespan.FromSeconds(30));```

The service requires the current discord socket client and can accept an optional default timeout for waiting on some functions.

Clone this wiki locally