Skip to content

YashTelang/Function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Function_

Function

An open-source Discord bot with everyday functionality.

Constantly having to search for commonly used pieces of information can be frustrating, so make it easy and do everything in your own Discord server!

  • Add the bot to your server here.
  • Check out the code in action on Replit here (always running!).
  • Run on Repl.it Clone and run the code yourself! Run command: python main.py.

Commands

Greetings
  • -hello: Says hello.
  • -bye: Says bye.
  • -good morning: Says good morning.
  • -good afternoon: Says good afternoon.
  • -good evening: Says good evening.
Time
  • -settimezone [timezone]: Sets the timezone to [timezone]. A list of timezones can be found here.
  • -time: After setting a timezone, gives the time.
Weather
  • -setlocation [location]: Sets the location to [location], which can be any city in the world.
  • -weather: Gives the current temperature in °F, humidity, pressure, and report.
  • -temperature: Gives the current temperature in °F.
  • -humidity: Gives the current humidity in %.
  • -pressure: Gives the current pressure in kPa.
  • -report: Gives the current weather report.
News
  • -news source [source]: Gives recent news from [source].
  • -news about [topic]: Gives recent news about [topic].
Stocks
  • -stock [ticker]: Gives history of [ticker] from the past 5 days.

APIs Used

License

Provided under the MIT License.

Contact

Feel free to fork the repository, give suggestions, or contact me at ytelang11@gmail.com!