Greatly reduce code complexity & make IF samples functional (#2205)
* Greatly reduce code complexity * Fixes sharded client IF implementation
This commit is contained in:
20
samples/InteractionFramework/Enums/ExampleEnum.cs
Normal file
20
samples/InteractionFramework/Enums/ExampleEnum.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Discord.Interactions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace InteractionFramework
|
||||
{
|
||||
public enum ExampleEnum
|
||||
{
|
||||
First,
|
||||
Second,
|
||||
Third,
|
||||
Fourth,
|
||||
[ChoiceDisplay("Twenty First")]
|
||||
TwentyFirst
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user