- Youtube Integration
- CleverBot Integration
- Magic EightBall
- Weather by ZipCode
- Slot Machine
- Currency system
- Black Desert Online scripts
- Git clone the Repo. * git clone https://github.com/lemon65/lemon_bot_discord
- Install packages, normally installed with (pip install [PackageName]) * import discord.py * import requests * import pickle * import cleverbot * from bs4 import BeautifulSoup
- Grab an API Key from, http://openweathermap.org and place it in the variable API_KEY
- Get the bots creds and update the client.login call * client.login('EMAIL', 'PASSWORD')
- You can then log into the bot manually and join a server or you can hack it to use the bot_join function.
- Python 2.7.6
- cleverbot 0.2.1 - https://pypi.python.org/pypi/cleverbot
- bs4 - http://www.crummy.com/software/BeautifulSoup/bs4/doc/
- Requests - http://docs.python-requests.org/en/master/
- pickle - https://docs.python.org/2/library/pickle.html
- discord.py - https://github.com/Rapptz/discord.py
Commands | description |
---|---|
!youtube [search_term] | Searches youtube for text that the user passes, then gives back a link to one of the videos. |
!cleverbot [question] | This will reach out to the cleverbot API and return an Answer. |
!enchant [target_level][fail_stacks] | this is a Black Desert command that figures out the enchanting chances for black stone upgrades. |
!roll | This rolls from 0-100, and returns the users name and the roll value. |
!coin | Simple coin toss command, gives you a 50/50 chance. |
!8ball [question] | This returns the eightball prediction and the question the user asked. |
!spank [target_user] | This will return with a punishment for the target user. |
!join [server join url] | Send the join URL to a sever where lemon bot is in and he will join the other server. |
!weather [Zip Code] | This uses a Weather API to return weather information based on the zip code. |
!slots | runs the slots, and uses the users money from the bank. Slots KEY = [4-Fruit(*50), 3-Fruit(*25), 4-Money(*500), 3-Money(*100), 4-Clover(*1000), 3-Clover(*200)] |
!clear | clears the chat log in that channel. |
!bet [amount] | Set the users betting amount. |
!reviewbet | Returns the users current bet. |
!loan | Gives the user, a little cash, Max amount of $50 bucks. |
!bank | Shows the user how much money they have. |
!leader | Shows the Top five users with the most money. |
!help | Returns the github page with Help information and commands. |
- updates happen when I feel like it, if you see issues point them out and I will be happy to help.
- Google Search
- Wiki Search
- Black Jack
- Other BDO scripts Etc.
- Music functions?
- If you need help you can email me @ lemon65.twitch@gmail.com, or talk with me on my Team Speak (IP = ts.ramcommunity.com) user name is lemon65.
- I have seen lag issues with servers that can't parse the HTMl data quickly, for example a Raspberry-PI
- Rapptz, for making discord.py - https://github.com/Rapptz/discord.py
#################### Copyright (c) 2016 RamCommunity #################
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so