vsTerminus / Discord-NP

Last.FM Now Playing info in your Discord status message
MIT License
43 stars 6 forks source link

Mojo::Discord #23

Closed hxck closed 3 years ago

hxck commented 3 years ago

Getting an error when I run this in Windows 10. I installed Strawberry Perl and used CPAN to install Config::Tiny, the strictures module, and Mojo::WebService::LastFM module without error. When trying to run I get this:

C:\Users\ccslo\Desktop\dnp>discordnp.pl
Can't locate Mojo/Discord.pm in @INC (you may need to install the Mojo::Discord module) (@INC contains: C:/Users/ccslo/Desktop/dnp/lib C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib) at C:/Users/ccslo/Desktop/dnp/lib/Discord/NP.pm line 8.
BEGIN failed--compilation aborted at C:/Users/ccslo/Desktop/dnp/lib/Discord/NP.pm line 8.
Compilation failed in require at C:\Users\ccslo\Desktop\dnp\discordnp.pl line 31.
BEGIN failed--compilation aborted at C:\Users\ccslo\Desktop\dnp\discordnp.pl line 31.

When trying to install, I get this:

cpan> install Mojo::Discord
Warning: Cannot install Mojo::Discord, don't know what it is.
Try the command

    i /Mojo::Discord/

to find objects with matching identifiers.

Any ideas?

incognico commented 3 years ago

Mojo-Discord is not on cpan, grab it here https://github.com/vsTerminus/Mojo-Discord

vsTerminus commented 3 years ago

Steps are in the readme, but yes. You'll want to grab a copy of Mojo::Discord from the link above and then

Then try again.