sphexator / discord.me-bump-bot Goto Github PK
View Code? Open in Web Editor NEW[Inactive] A bot to automatically bump servers on discord.me
Home Page: https://discord.me/
License: MIT License
[Inactive] A bot to automatically bump servers on discord.me
Home Page: https://discord.me/
License: MIT License
How the hell do you even get the api key ? Let alone what api key? And maybe provide exmaples regarding how to get any of the information you want stored in the config?
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: implementationInstance
at Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton[TService](IServiceCollection services, TService implementationInstance)
at BumpBot.Program.ConfigureServices() in C:\Users\silent\Desktop\Discord.me-bump-bot\BumpBot\Program.cs:line 52
at BumpBot.Program.BumpBot() in C:\Users\silent\Desktop\Discord.me-bump-bot\BumpBot\Program.cs:line 27
at BumpBot.Program.Main() in C:\Users\silent\Desktop\Discord.me-bump-bot\BumpBot\Program.cs:line 22
Got this while running it. Any ideas?
In terms of the configuration, how do you choose which server you want to bump? Does it just do the ones your account is connected to Discord.me automatically or do you have to specify within the config?
Also, why doesn't this just support a discord token vs username/password?
Hi spexator. I'm trying to build your solution, but it seems to be giving me a nullpointer exception. Attached is the issue print
The stack trace is as follow
'dotnet.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Private.CoreLib.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Soerakraven\Desktop\Discord.me-bump-bot\BumpBot\bin\Release\netcoreapp2.2\BumpBot.dll'. Symbols loaded. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Runtime.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Threading.Tasks.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.configuration.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.ComponentModel.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Soerakraven\.nuget\packages\2captchaapi\1.3.1\lib\netstandard2.0\2Captcha.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\netstandard.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Soerakraven\.nuget\packages\selenium.webdriver\3.141.0\lib\netstandard2.0\WebDriver.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.dependencyinjection\2.2.0\lib\netcoreapp2.0\Microsoft.Extensions.DependencyInjection.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.dependencyinjection.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Net.Http.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.configuration\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.IO.FileSystem.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.configuration.fileextensions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.FileExtensions.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.configuration.json\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Json.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Runtime.Extensions.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.fileproviders.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.FileProviders.Abstractions.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Collections.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.fileproviders.physical\2.2.0\lib\netstandard2.0\Microsoft.Extensions.FileProviders.Physical.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.primitives\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Linq.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Soerakraven\.nuget\packages\newtonsoft.json\12.0.1\lib\netstandard2.0\Newtonsoft.Json.dll'. Symbols loaded. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Linq.Expressions.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.ComponentModel.TypeConverter.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.ObjectModel.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Runtime.Numerics.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Private.Uri.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Threading.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Soerakraven\.nuget\packages\quartz\3.0.7\lib\netstandard2.0\Quartz.dll'. Symbols loaded. Exception thrown: 'System.ArgumentNullException' in Microsoft.Extensions.DependencyInjection.Abstractions.dll Exception thrown: 'System.ArgumentNullException' in System.Private.CoreLib.dll An unhandled exception of type 'System.ArgumentNullException' occurred in System.Private.CoreLib.dll Value cannot be null. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Diagnostics.StackTrace.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Collections.Concurrent.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Reflection.Metadata.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Collections.Immutable.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Runtime.InteropServices.dll'. 'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8\System.Text.Encoding.Extensions.dll'. The program '[8992] dotnet.exe: Program Trace' has exited with code 0 (0x0). The program '[8992] dotnet.exe' has exited with code 0 (0x0).
And it seems to throw the exception on this line
Any help is very appreciated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.