TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
IceTapz :P
NA
2
1k
Problem when making a discord bot
Jan 20 2019 3:50 AM
Hi, so basically, I am trying to make a discord bot but it is not working due to the following line:
await CommandService.AddModulesAsync(Assembly.GetEntryAssembly());
The error that my compiler prompts is:
Severity Code Description Project File Line Suppression State
Error CS7036 There is no argument given that corresponds to the required formal parameter 'services' of 'CommandService.AddModulesAsync(Assembly, IServiceProvider)' Discord Bot C:\Users\*********\Desktop\Discord Bot\Discord Bot\Program.cs 37 Active
I will leave the code right above here (the line with error is 37):
https://pastebin.com/DbaSYE1X
Reply
Answers (
1
)
How to get you all tube videos embed code of own account
remove special character c# function