Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Discord.Commands
|
|||||||
{
|
{
|
||||||
foreach (var prop in ownerType.DeclaredProperties)
|
foreach (var prop in ownerType.DeclaredProperties)
|
||||||
{
|
{
|
||||||
if (prop.SetMethod?.IsPublic == true && prop.GetCustomAttribute<DontInjectAttribute>() == null)
|
if (prop.GetMethod?.IsStatic == false && prop.SetMethod?.IsPublic == true && prop.GetCustomAttribute<DontInjectAttribute>() == null)
|
||||||
result.Add(prop);
|
result.Add(prop);
|
||||||
}
|
}
|
||||||
ownerType = ownerType.BaseType.GetTypeInfo();
|
ownerType = ownerType.BaseType.GetTypeInfo();
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
Video,
|
Video,
|
||||||
Image,
|
Image,
|
||||||
Gifv,
|
Gifv,
|
||||||
Article
|
Article,
|
||||||
|
Tweet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user