Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get channel id from message #43

Open
XTREME1738 opened this issue Feb 27, 2022 · 0 comments
Open

Get channel id from message #43

XTREME1738 opened this issue Feb 27, 2022 · 0 comments

Comments

@XTREME1738
Copy link

XTREME1738 commented Feb 27, 2022

this is my code
private void Discord_MessageCreate(DiscordMessage message)
{
if (message.channel != null) {

  }

}

and when it loads i get

error CS1061: Type Oxide.Ext.Discord.Entities.Messages.DiscordMessage does not contain a definition for channel and no extension method channel of type Oxide.Ext.Discord.Entities.Messages.DiscordMessage could be found. Are you missing an assembly reference?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant