Type or namespace name `GuildMember' could not be foundNot An Issue

hi, any idea how to fix this on the new update

Error while compiling: DiscordRoles.cs(867,47): error CS0246: The type or namespace name `GuildMember' could not be found. Are you missing `Oxide.Ext.Discord.DiscordObjects' using directive?

The plugin change the name DiscordCoreRoles.cs to DiscordRoles delete the DiscordCoreRoles.cs and update the discord extension and DiscordCore.cs

thanks ive alreay tried that and it does the same

Have you updated the Discord extension? If yes, have you restarted the server? Changes will not take effect until restart as far as I am aware.

You need to delete DiscordCoreRoles and replace it with this plugin if you're upgrading to Discord Extension 2.0.

This probably explains why all your plugins were failing to compile from your other post.

Error while compiling: DiscordCoreRoles.cs(733,70): error CS0246: The type or namespace name `GuildMember' could not be found. Are you missing `Oxide.Ext.Discord.Entities.Guilds' using directive?

DiscordCoreRoles is only for Discord Extension 1.0. If you're upgrading you need to delete the plugin and replace it with this one as the name has changed.

Locked automatically